Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9506/0.9506, allocations: 173.4 MB / 201.5 MB, free: 8.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.885e-05, allocations: 10.05 kB / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.139/0.139, allocations: 36.02 MB / 304.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.1577, allocations: 10.49 MB / 315.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006556/0.1643, allocations: 352.2 kB / 315.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.1751, allocations: 10.78 MB / 326.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.1855, allocations: 4.249 MB / 330.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.1902, allocations: 2.397 MB / 332.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01766/0.2078, allocations: 17.1 MB / 349.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0251/0.2329, allocations: 20.99 MB / 370.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.2476, allocations: 12.95 MB / 383.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.2581, allocations: 9.271 MB / 393.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003292/0.2614, allocations: 2.41 MB / 395.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.265, allocations: 2.819 MB / 398.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002995/0.268, allocations: 4.987 MB / 403.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007529/0.2756, allocations: 6.254 MB / 409.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.2897, allocations: 15.33 MB / 425 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2897, allocations: 0 / 425 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2897, allocations: 0 / 425 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003679/0.29, allocations: 4 kB / 425 MB, free: 13.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.2611/0.5512, allocations: 17.78 MB / 442.7 MB, free: 82.9 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5512, allocations: 10.17 kB / 442.7 MB, free: 82.9 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02538/0.5766, allocations: 8.621 MB / 451.4 MB, free: 82.86 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.5887, allocations: 5.446 MB / 456.8 MB, free: 82.04 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/0.5893, allocations: 1.059 MB / 457.9 MB, free: 82 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/0.5914, allocations: 1.411 MB / 459.3 MB, free: 81.99 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.6067, allocations: 11.49 MB / 470.8 MB, free: 74.95 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/0.6069, allocations: 20.33 kB / 470.8 MB, free: 74.94 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008256/0.6077, allocations: 0.5755 MB / 471.4 MB, free: 74.38 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003554/0.6081, allocations: 0.7793 MB / 472.2 MB, free: 73.59 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007544/0.6156, allocations: 5.602 MB / 477.8 MB, free: 67.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.657, allocations: 43.95 MB / 0.5095 GB, free: 26.02 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.6642, allocations: 8.073 MB / 0.5174 GB, free: 18.14 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.6661, allocations: 1.7 MB / 0.519 GB, free: 16.5 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.6767, allocations: 6.07 MB / 0.5249 GB, free: 10.81 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.6768, allocations: 86.77 kB / 0.525 GB, free: 10.72 MB / 378.8 MB Notification: Performance of pre-optimization done (n=498): time 7.214e-06/0.6768, allocations: 4 kB / 0.525 GB, free: 10.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=506): time 0.037/0.7138, allocations: 11.44 MB / 0.5362 GB, free: 15.46 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.7139, allocations: 129.3 kB / 0.5363 GB, free: 15.32 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/0.7207, allocations: 3.668 MB / 0.5399 GB, free: 12.41 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.7209, allocations: 109.7 kB / 0.54 GB, free: 12.3 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005809/0.7268, allocations: 5.689 MB / 0.5456 GB, free: 6.801 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004108/0.7309, allocations: 1.802 MB / 0.5473 GB, free: 5.102 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/0.7324, allocations: 1.357 MB / 0.5487 GB, free: 3.891 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.7327, allocations: 309.1 kB / 0.5489 GB, free: 3.586 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.7344, allocations: 0.9934 MB / 0.5499 GB, free: 2.59 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.7373, allocations: 3.682 MB / 0.5535 GB, free: 13.83 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/0.7429, allocations: 5.399 MB / 0.5588 GB, free: 7.668 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/0.743, allocations: 24 kB / 0.5588 GB, free: 7.645 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009161/0.7521, allocations: 5.231 MB / 0.5639 GB, free: 3.035 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.7522, allocations: 45.09 kB / 0.564 GB, free: 2.992 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.713e-05/0.7523, allocations: 100 kB / 0.5641 GB, free: 2.895 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.7552, allocations: 1.253 MB / 0.5653 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.7583, allocations: 1.63 MB / 0.5669 GB, free: 144 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.769, allocations: 11.35 MB / 0.578 GB, free: 4.582 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.7726, allocations: 287.9 kB / 0.5782 GB, free: 4.301 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/0.7731, allocations: 296 kB / 0.5785 GB, free: 4.012 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002741/0.7758, allocations: 0.6185 MB / 0.5791 GB, free: 3.496 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.7768, allocations: 0.4956 MB / 0.5796 GB, free: 3 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1585/0.9353, allocations: 3.899 MB / 0.5834 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004071/0.9394, allocations: 1.885 MB / 0.5853 GB, free: 106.3 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.9395, allocations: 18.28 kB / 0.5853 GB, free: 106.3 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-05/0.9395, allocations: 33.48 kB / 0.5853 GB, free: 106.3 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.9584, allocations: 9.494 MB / 0.5946 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.9585, allocations: 6.719 kB / 0.5946 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/0.9612, allocations: 1.099 MB / 0.5957 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.9641, allocations: 1.268 MB / 0.5969 GB, free: 105.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005768/0.9647, allocations: 112.2 kB / 0.597 GB, free: 105.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.975, allocations: 14.35 MB / 0.611 GB, free: 96.3 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.975, allocations: 11.38 kB / 0.611 GB, free: 96.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007817/0.9828, allocations: 4.828 MB / 0.6157 GB, free: 95.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/0.9855, allocations: 0.7268 MB / 0.6164 GB, free: 95.19 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/0.9868, allocations: 108.3 kB / 0.6165 GB, free: 95.19 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.9886, allocations: 153.5 kB / 0.6167 GB, free: 95.19 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008004/0.9894, allocations: 404.2 kB / 0.6171 GB, free: 95.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/0.9896, allocations: 112 kB / 0.6172 GB, free: 95.18 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002462/0.9921, allocations: 1.751 MB / 0.6189 GB, free: 95.05 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9921, allocations: 0 / 0.6189 GB, free: 95.05 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008326/1, allocations: 2.326 MB / 0.6212 GB, free: 95.05 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001752/1.002, allocations: 308.2 kB / 0.6215 GB, free: 94.97 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006149/1.008, allocations: 4.667 MB / 0.626 GB, free: 94.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002162/1.009, allocations: 81.69 kB / 0.6261 GB, free: 94.07 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.012, allocations: 2.997 MB / 0.629 GB, free: 92.17 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.017, allocations: 1.47 MB / 0.6305 GB, free: 91.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/1.049, allocations: 20.55 MB / 0.6505 GB, free: 74.01 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005416/1.055, allocations: 2.767 MB / 0.6532 GB, free: 72.17 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003562/1.058, allocations: 0.9277 MB / 0.6541 GB, free: 71.45 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/1.061, allocations: 1.306 MB / 0.6554 GB, free: 70.34 MB / 426.8 MB Notification: Performance of SimCode: time 2.254e-06/1.061, allocations: 0 / 0.6554 GB, free: 70.34 MB / 426.8 MB Notification: Performance of Templates: time 0.267/1.328, allocations: 96.48 MB / 0.7496 GB, free: 119.1 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.887735449243337]