Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2178, allocations: 53.37 MB / 432.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02669/0.2445, allocations: 20.95 MB / 453.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.2576, allocations: 6.93 MB / 460.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.2603, allocations: 206.7 kB / 460.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.2638, allocations: 1.662 MB / 462.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.2692, allocations: 2.48 MB / 464.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.272, allocations: 1.446 MB / 466 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009396/0.2814, allocations: 8.92 MB / 475 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/0.2867, allocations: 4.016 MB / 479 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004951/0.2917, allocations: 4.194 MB / 483.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006219/0.2979, allocations: 4.928 MB / 488.1 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.2994, allocations: 1.094 MB / 489.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3019, allocations: 1.375 MB / 490.6 MB, free: 12.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002524/0.3044, allocations: 2.739 MB / 493.3 MB, free: 9.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004182/0.3086, allocations: 3.735 MB / 497 MB, free: 5.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.3231, allocations: 14.59 MB / 0.4996 GB, free: 7.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3232, allocations: 0 / 0.4996 GB, free: 7.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3232, allocations: 0 / 0.4996 GB, free: 7.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000186/0.3233, allocations: 3.938 kB / 0.4996 GB, free: 7.035 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.0198/0.3431, allocations: 9.062 MB / 0.5085 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3432, allocations: 8.031 kB / 0.5085 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/0.3493, allocations: 1.362 MB / 0.5098 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.3606, allocations: 5.02 MB / 0.5147 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005238/0.3611, allocations: 0.498 MB / 0.5152 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.3623, allocations: 0.6756 MB / 0.5159 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.3796, allocations: 9.96 MB / 0.5256 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.3798, allocations: 19.89 kB / 0.5256 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007139/0.3805, allocations: 276 kB / 0.5259 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.3808, allocations: 297.4 kB / 0.5262 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.3951, allocations: 8.188 MB / 0.5342 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3673/0.7625, allocations: 25.44 MB / 0.559 GB, free: 81.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/0.7697, allocations: 5.687 MB / 0.5646 GB, free: 77.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.7736, allocations: 3.139 MB / 0.5676 GB, free: 74.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009629/0.7832, allocations: 5.84 MB / 0.5733 GB, free: 68.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.7832, allocations: 68.97 kB / 0.5734 GB, free: 68.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=305): time 5.37e-06/0.7832, allocations: 0 / 0.5734 GB, free: 68.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=324): time 0.02413/0.8074, allocations: 14.48 MB / 0.5875 GB, free: 54.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.8074, allocations: 85.95 kB / 0.5876 GB, free: 54.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/0.8112, allocations: 3.705 MB / 0.5912 GB, free: 50.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.8114, allocations: 85.7 kB / 0.5913 GB, free: 50.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.8126, allocations: 3.209 MB / 0.5945 GB, free: 47.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000559/0.8132, allocations: 1.147 MB / 0.5956 GB, free: 46.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009355/0.8141, allocations: 0.6848 MB / 0.5962 GB, free: 45.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.082e-05/0.8141, allocations: 305.1 kB / 0.5965 GB, free: 45.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.8164, allocations: 1.92 MB / 0.5984 GB, free: 43.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.819, allocations: 2.91 MB / 0.6013 GB, free: 40.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/0.824, allocations: 4.974 MB / 0.6061 GB, free: 34.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.8241, allocations: 8 kB / 0.6061 GB, free: 34.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.008187/0.8322, allocations: 6.339 MB / 0.6123 GB, free: 28.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.8323, allocations: 20 kB / 0.6123 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.8323, allocations: 28 kB / 0.6124 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.8349, allocations: 1.285 MB / 0.6136 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.8377, allocations: 0.8113 MB / 0.6144 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.8518, allocations: 21.22 MB / 0.6351 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.8544, allocations: 211.9 kB / 0.6353 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.8546, allocations: 152 kB / 0.6355 GB, free: 3.535 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00266/0.8573, allocations: 2.196 MB / 0.6376 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/0.8578, allocations: 429.3 kB / 0.638 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.868, allocations: 5.745 MB / 0.6436 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.868, allocations: 19.88 kB / 0.6437 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.868, allocations: 0 / 0.6437 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/0.8703, allocations: 0.8467 MB / 0.6445 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/0.8708, allocations: 71.92 kB / 0.6445 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.8728, allocations: 187.8 kB / 0.6447 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005678/0.8734, allocations: 309.9 kB / 0.645 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01251/0.8859, allocations: 5.849 MB / 0.6507 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01027/0.8961, allocations: 6.818 MB / 0.6574 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002853/0.899, allocations: 1.913 MB / 0.6593 GB, free: 10.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003713/0.9027, allocations: 2.474 MB / 0.6617 GB, free: 8.512 MB / 478.1 MB Notification: Performance of Backend: time 2.7e-07/0.9027, allocations: 0 / 0.6617 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008363/0.9111, allocations: 4.62 MB / 0.6662 GB, free: 3.754 MB / 478.1 MB Notification: Performance of SimCode: time 0.02318/0.9342, allocations: 13.98 MB / 0.6798 GB, free: 5.73 MB / 494.1 MB Notification: Performance of Templates: time 0.3165/1.251, allocations: 85.11 MB / 0.763 GB, free: 185.2 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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: 87.2359664100004]