Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 93.39 kB / 16.93 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 179.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000478/0.000478, allocations: 19.98 kB / 280.8 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03191/0.1404, allocations: 30.68 MB / 359 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.1629, allocations: 9.657 MB / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006642/0.1696, allocations: 235.1 kB / 368.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008482/0.1781, allocations: 2.071 MB / 371 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.1911, allocations: 3.502 MB / 374.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.1978, allocations: 1.629 MB / 376.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2257/0.4235, allocations: 13.72 MB / 389.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04666/0.4702, allocations: 24.4 MB / 414.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.4816, allocations: 5.715 MB / 420 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.4929, allocations: 6.329 MB / 426.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003797/0.4967, allocations: 0.9336 MB / 427.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007297/0.5041, allocations: 1.248 MB / 428.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004941/0.509, allocations: 2.928 MB / 431.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007798/0.5168, allocations: 3.108 MB / 434.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03218/0.5491, allocations: 26.94 MB / 461.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5491, allocations: 0 / 461.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5491, allocations: 0 / 461.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001053/0.5502, allocations: 0 / 461.5 MB, free: 3.453 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04757/0.5978, allocations: 15.8 MB / 477.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5978, allocations: 8.031 kB / 477.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0511/0.6489, allocations: 9.209 MB / 486.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02382/0.6728, allocations: 9.013 MB / 495.5 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/0.6742, allocations: 1.082 MB / 496.6 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008101/0.6824, allocations: 1.415 MB / 498 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06826/0.7507, allocations: 22.99 MB / 0.5088 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008462/0.7515, allocations: 27.73 kB / 0.5088 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005674/0.7572, allocations: 0.5883 MB / 0.5094 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/0.7583, allocations: 0.8109 MB / 0.5101 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05339/0.8117, allocations: 21.61 MB / 0.5313 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5046/1.316, allocations: 74.27 MB / 0.6038 GB, free: 64.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03049/1.347, allocations: 53.53 MB / 0.6561 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02657/1.373, allocations: 15.27 MB / 0.671 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/1.374, allocations: 90.75 kB / 0.6711 GB, free: 11.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=514): time 5.691e-06/1.374, allocations: 0 / 0.6711 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=522): time 0.06007/1.434, allocations: 27.29 MB / 0.6977 GB, free: 15.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/1.434, allocations: 129.4 kB / 0.6978 GB, free: 15.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009142/1.443, allocations: 5.797 MB / 0.7035 GB, free: 9.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009903/1.444, allocations: 117.7 kB / 0.7036 GB, free: 9.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004976/1.449, allocations: 6.264 MB / 0.7097 GB, free: 2.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002595/1.452, allocations: 1.798 MB / 0.7115 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/1.452, allocations: 160 kB / 0.7116 GB, free: 1.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000461/1.453, allocations: 0.6248 MB / 0.7122 GB, free: 440 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2084/1.661, allocations: 3.744 MB / 0.7159 GB, free: 153.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009613/1.671, allocations: 6.797 MB / 0.7225 GB, free: 149.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009184/1.68, allocations: 5.208 MB / 0.7276 GB, free: 147.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000164/1.68, allocations: 32.62 kB / 0.7276 GB, free: 147.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02154/1.702, allocations: 12.53 MB / 0.7399 GB, free: 142.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/1.702, allocations: 51.3 kB / 0.7399 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.702, allocations: 101.1 kB / 0.74 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/1.706, allocations: 1.603 MB / 0.7416 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007065/1.713, allocations: 1.765 MB / 0.7433 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/1.732, allocations: 18.64 MB / 0.7615 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006494/1.739, allocations: 446.5 kB / 0.7619 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.74, allocations: 395.5 kB / 0.7623 GB, free: 129.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 905 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009281/1.749, allocations: 5.248 MB / 0.7674 GB, free: 126.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.751, allocations: 0.6073 MB / 0.768 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.765, allocations: 9.581 MB / 0.7774 GB, free: 118.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007827/1.773, allocations: 5.988 MB / 0.7832 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/1.773, allocations: 20 kB / 0.7833 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/1.773, allocations: 30.77 kB / 0.7833 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03394/1.807, allocations: 21.37 MB / 0.8042 GB, free: 93.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/1.807, allocations: 9.641 kB / 0.8042 GB, free: 93.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/1.811, allocations: 0.8815 MB / 0.805 GB, free: 92.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004437/1.815, allocations: 1.628 MB / 0.8066 GB, free: 90.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009266/1.816, allocations: 131.9 kB / 0.8067 GB, free: 90.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02018/1.836, allocations: 21.74 MB / 0.828 GB, free: 68.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.836, allocations: 7.938 kB / 0.828 GB, free: 68.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/1.856, allocations: 14.94 MB / 0.8426 GB, free: 52.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003748/1.859, allocations: 1.39 MB / 0.8439 GB, free: 51.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.861, allocations: 113.4 kB / 0.844 GB, free: 51.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/1.864, allocations: 299.7 kB / 0.8443 GB, free: 50.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008675/1.865, allocations: 416.4 kB / 0.8447 GB, free: 50.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.865, allocations: 152 kB / 0.8449 GB, free: 50.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00588/1.871, allocations: 3.875 MB / 0.8486 GB, free: 46.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.871, allocations: 0 / 0.8486 GB, free: 46.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008685/1.88, allocations: 2.38 MB / 0.851 GB, free: 44.21 MB / 478.1 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 (451): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(12,54.9%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008503/1.88, allocations: 323.2 kB / 0.8513 GB, free: 43.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01399/1.894, allocations: 10.17 MB / 0.8612 GB, free: 33.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.894, allocations: 0 / 0.8612 GB, free: 33.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008366/1.903, allocations: 5.545 MB / 0.8666 GB, free: 28.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008934/1.912, allocations: 1.477 MB / 0.8681 GB, free: 26.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2881/2.2, allocations: 30.04 MB / 0.8974 GB, free: 142 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02438/2.224, allocations: 9.167 MB / 0.9064 GB, free: 141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01106/2.236, allocations: 2.595 MB / 0.9089 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/2.238, allocations: 465.1 kB / 0.9093 GB, free: 140.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.783e-06/2.238, allocations: 0 / 0.9093 GB, free: 140.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1572/2.395, allocations: 95.59 MB / 1.003 GB, free: 58.16 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches