Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 202.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 378.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 53.4 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04193/0.3248, allocations: 33.4 MB / 465.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.3469, allocations: 10.03 MB / 475.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0065/0.3534, allocations: 354.1 kB / 475.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02467/0.378, allocations: 9.585 MB / 485 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.3918, allocations: 4.137 MB / 489.2 MB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.3997, allocations: 2.421 MB / 491.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02341/0.4231, allocations: 16.65 MB / 0.4963 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03484/0.4579, allocations: 20.31 MB / 0.5162 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.4713, allocations: 8.72 MB / 0.5247 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01632/0.4876, allocations: 9.195 MB / 0.5337 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006247/0.4939, allocations: 2.414 MB / 0.536 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.409/0.9029, allocations: 2.81 MB / 0.5388 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006414/0.9093, allocations: 4.817 MB / 0.5435 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01408/0.9234, allocations: 7.173 MB / 0.5505 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03044/0.9538, allocations: 32.37 MB / 0.5821 GB, free: 23.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9538, allocations: 0 / 0.5821 GB, free: 23.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.9538, allocations: 0 / 0.5821 GB, free: 23.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008388/0.9547, allocations: 0 / 0.5821 GB, free: 23.06 MB / 446.1 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.05407/1.009, allocations: 18.98 MB / 0.6006 GB, free: 11.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.009, allocations: 17.95 kB / 0.6006 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04562/1.054, allocations: 8.278 MB / 0.6087 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02382/1.078, allocations: 10.34 MB / 0.6188 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001287/1.08, allocations: 1.058 MB / 0.6199 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005841/1.085, allocations: 1.403 MB / 0.6212 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06172/1.147, allocations: 23.1 MB / 0.6438 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004676/1.148, allocations: 23.89 kB / 0.6438 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003662/1.151, allocations: 0.5752 MB / 0.6444 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008732/1.152, allocations: 0.7754 MB / 0.6451 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04781/1.2, allocations: 20.99 MB / 0.6656 GB, free: 11.36 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1295/1.329, allocations: 63.03 MB / 0.7272 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/1.356, allocations: 13.86 MB / 0.7407 GB, free: 376 kB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008978/1.365, allocations: 4.736 MB / 0.7453 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/1.39, allocations: 11.42 MB / 0.7565 GB, free: 352 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/1.39, allocations: 90.77 kB / 0.7566 GB, free: 252 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.415e-06/1.39, allocations: 0 / 0.7566 GB, free: 252 kB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.2862/1.676, allocations: 25.83 MB / 0.7818 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/1.676, allocations: 131.7 kB / 0.7819 GB, free: 192.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/1.683, allocations: 5.514 MB / 0.7873 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008787/1.684, allocations: 109.2 kB / 0.7874 GB, free: 190.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002962/1.687, allocations: 6.381 MB / 0.7936 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.689, allocations: 1.821 MB / 0.7954 GB, free: 184 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/1.691, allocations: 1.477 MB / 0.7969 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/1.691, allocations: 307.7 kB / 0.7972 GB, free: 183 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004761/1.696, allocations: 3.633 MB / 0.8007 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/1.702, allocations: 6.534 MB / 0.8071 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.713, allocations: 10.79 MB / 0.8176 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.202e-05/1.714, allocations: 28 kB / 0.8177 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01801/1.732, allocations: 11.98 MB / 0.8294 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/1.732, allocations: 44.56 kB / 0.8294 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.732, allocations: 100 kB / 0.8295 GB, free: 153.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/1.736, allocations: 1.584 MB / 0.831 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/1.741, allocations: 1.679 MB / 0.8327 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.76, allocations: 18.72 MB / 0.851 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/1.766, allocations: 423.6 kB / 0.8514 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.767, allocations: 368 kB / 0.8517 GB, free: 131.8 MB / 0.5763 GB 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.008286/1.775, allocations: 5.204 MB / 0.8568 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.776, allocations: 0.5938 MB / 0.8574 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.79, allocations: 9.129 MB / 0.8663 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008033/1.798, allocations: 5.852 MB / 0.872 GB, free: 110.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-05/1.798, allocations: 20 kB / 0.872 GB, free: 110.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/1.799, allocations: 31.89 kB / 0.8721 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03628/1.835, allocations: 17.99 MB / 0.8896 GB, free: 92.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.835, allocations: 11.94 kB / 0.8896 GB, free: 92.79 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/1.839, allocations: 0.8664 MB / 0.8905 GB, free: 91.92 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00441/1.843, allocations: 1.631 MB / 0.8921 GB, free: 90.27 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008452/1.844, allocations: 124 kB / 0.8922 GB, free: 90.14 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.865, allocations: 21.99 MB / 0.9137 GB, free: 67.47 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.865, allocations: 12.19 kB / 0.9137 GB, free: 67.46 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/1.886, allocations: 13.54 MB / 0.9269 GB, free: 53.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004082/1.89, allocations: 1.304 MB / 0.9282 GB, free: 52.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009408/1.891, allocations: 111.9 kB / 0.9283 GB, free: 52.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.894, allocations: 279.7 kB / 0.9285 GB, free: 51.91 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008332/1.894, allocations: 440.2 kB / 0.929 GB, free: 51.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/1.895, allocations: 163.9 kB / 0.9291 GB, free: 51.32 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004836/1.9, allocations: 3.582 MB / 0.9326 GB, free: 47.76 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.9, allocations: 0 / 0.9326 GB, free: 47.76 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008972/1.908, allocations: 2.336 MB / 0.9349 GB, free: 45.42 MB / 0.5763 GB 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,5,100.0%), (1,8,100.0%), (1,13,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.001021/1.91, allocations: 315.3 kB / 0.9352 GB, free: 45.11 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.923, allocations: 9.45 MB / 0.9444 GB, free: 35.58 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/1.923, allocations: 0 / 0.9444 GB, free: 35.58 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007674/1.931, allocations: 5.144 MB / 0.9494 GB, free: 30.35 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/1.937, allocations: 1.448 MB / 0.9509 GB, free: 28.93 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/1.976, allocations: 25.04 MB / 0.9753 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2598/2.236, allocations: 8.493 MB / 0.9836 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008826/2.245, allocations: 2.489 MB / 0.986 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/2.247, allocations: 463.1 kB / 0.9865 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.032e-06/2.247, allocations: 1.688 kB / 0.9865 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1575/2.405, allocations: 103.6 MB / 1.088 GB, free: 98.05 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.076175669208169]