Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.0013/0.0013, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 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.001424/0.001424, allocations: 220.6 kB / 25.14 MB, free: 3.582 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.7 MB, free: 7.883 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.003289/0.003289, allocations: 67.88 kB / 379.4 MB, free: 2.723 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2266, allocations: 53.37 MB / 432.8 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02812/0.2547, allocations: 24.29 MB / 457.1 MB, free: 14.57 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01361/0.2683, allocations: 7.213 MB / 464.3 MB, free: 7.344 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.2703, allocations: 206.7 kB / 464.5 MB, free: 7.141 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003296/0.2736, allocations: 1.732 MB / 466.2 MB, free: 5.398 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004833/0.2784, allocations: 2.494 MB / 468.7 MB, free: 2.891 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.2811, allocations: 1.492 MB / 470.2 MB, free: 1.398 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009405/0.2906, allocations: 8.913 MB / 479.1 MB, free: 8.453 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.2957, allocations: 4.012 MB / 483.1 MB, free: 4.336 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004926/0.3007, allocations: 4.183 MB / 487.3 MB, free: 144 kB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.006197/0.3069, allocations: 4.959 MB / 492.3 MB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001381/0.3083, allocations: 1.102 MB / 493.4 MB, free: 10.06 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3105, allocations: 1.386 MB / 494.8 MB, free: 8.676 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002556/0.313, allocations: 2.746 MB / 497.5 MB, free: 5.922 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004751/0.3178, allocations: 4.691 MB / 0.4904 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0146/0.3324, allocations: 14.55 MB / 0.5046 GB, free: 2.609 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3324, allocations: 0 / 0.5046 GB, free: 2.609 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3324, allocations: 4 kB / 0.5046 GB, free: 2.605 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.000152/0.3325, allocations: 0 / 0.5046 GB, free: 2.605 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.01951/0.352, allocations: 9.081 MB / 0.5135 GB, free: 9.438 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3521, allocations: 16.03 kB / 0.5135 GB, free: 9.422 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/0.3581, allocations: 1.358 MB / 0.5148 GB, free: 8.059 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.3684, allocations: 5.366 MB / 0.5201 GB, free: 2.617 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.3688, allocations: 0.5019 MB / 0.5206 GB, free: 2.113 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.3699, allocations: 0.6678 MB / 0.5212 GB, free: 1.445 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.3859, allocations: 9.461 MB / 0.5305 GB, free: 7.863 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.386, allocations: 19.94 kB / 0.5305 GB, free: 7.844 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007052/0.3867, allocations: 284 kB / 0.5308 GB, free: 7.566 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/0.387, allocations: 293.4 kB / 0.531 GB, free: 7.277 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3319/0.7189, allocations: 8.1 MB / 0.5389 GB, free: 90.82 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/0.7567, allocations: 28.49 MB / 0.5668 GB, free: 73.02 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.7641, allocations: 5.652 MB / 0.5723 GB, free: 70.18 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/0.7682, allocations: 3.119 MB / 0.5753 GB, free: 67.76 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.009132/0.7773, allocations: 6.497 MB / 0.5817 GB, free: 61.39 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.7773, allocations: 68.97 kB / 0.5817 GB, free: 61.31 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=305): time 4.428e-06/0.7773, allocations: 0 / 0.5817 GB, free: 61.31 MB / 446.1 MB
Notification: Performance of matching and sorting (n=324): time 0.02389/0.8012, allocations: 14.28 MB / 0.5957 GB, free: 47.19 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.8012, allocations: 85.95 kB / 0.5958 GB, free: 47.09 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/0.8053, allocations: 4.035 MB / 0.5997 GB, free: 43.05 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.8055, allocations: 85.7 kB / 0.5998 GB, free: 42.96 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.8067, allocations: 3.173 MB / 0.6029 GB, free: 40.02 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.8072, allocations: 1.149 MB / 0.604 GB, free: 38.89 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008638/0.8081, allocations: 0.6848 MB / 0.6047 GB, free: 38.2 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 2.983e-05/0.8081, allocations: 301.1 kB / 0.605 GB, free: 37.9 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.8103, allocations: 1.866 MB / 0.6068 GB, free: 36.03 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.8128, allocations: 2.839 MB / 0.6096 GB, free: 32.79 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.8177, allocations: 4.912 MB / 0.6144 GB, free: 27.45 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.8177, allocations: 8 kB / 0.6144 GB, free: 27.45 MB / 446.1 MB
Notification: Performance of matching and sorting (n=487) (initialization): time 0.00797/0.8257, allocations: 6.245 MB / 0.6205 GB, free: 21.12 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8257, allocations: 18.81 kB / 0.6205 GB, free: 21.1 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.8257, allocations: 32.84 kB / 0.6205 GB, free: 21.07 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.8281, allocations: 1.28 MB / 0.6218 GB, free: 19.75 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.8308, allocations: 0.8073 MB / 0.6226 GB, free: 18.94 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.8458, allocations: 21.43 MB / 0.6435 GB, free: 12.26 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.8486, allocations: 191.8 kB / 0.6437 GB, free: 12.07 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.8489, allocations: 156 kB / 0.6438 GB, free: 11.92 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 130
 * 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 (424):
 * Single equations (assignments): 410
 * 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.003635/0.8525, allocations: 2.193 MB / 0.646 GB, free: 9.715 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/0.8532, allocations: 473 kB / 0.6464 GB, free: 9.25 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.8637, allocations: 5.709 MB / 0.652 GB, free: 3.441 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.8638, allocations: 15.94 kB / 0.652 GB, free: 3.426 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8638, allocations: 0 / 0.652 GB, free: 3.426 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001892/0.8657, allocations: 0.8738 MB / 0.6528 GB, free: 2.551 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/0.8662, allocations: 63.94 kB / 0.6529 GB, free: 2.488 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.8681, allocations: 187.8 kB / 0.6531 GB, free: 2.305 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005632/0.8687, allocations: 305.9 kB / 0.6534 GB, free: 2.004 MB / 462.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0124/0.8811, allocations: 5.789 MB / 0.659 GB, free: 12.2 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009992/0.8911, allocations: 6.768 MB / 0.6656 GB, free: 5.367 MB / 478.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002795/0.8939, allocations: 1.882 MB / 0.6675 GB, free: 3.473 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.004054/0.8979, allocations: 2.746 MB / 0.6702 GB, free: 0.7227 MB / 478.1 MB
Notification: Performance of Backend: time 2.6e-07/0.8979, allocations: 0 / 0.6702 GB, free: 0.7227 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.00818/0.9061, allocations: 4.552 MB / 0.6746 GB, free: 12.04 MB / 494.1 MB
Notification: Performance of SimCode: time 0.02303/0.9291, allocations: 14.32 MB / 0.6886 GB, free: 13.68 MB / 0.4982 GB
Notification: Performance of Templates: time 0.314/1.243, allocations: 81.78 MB / 0.7685 GB, free: 184.5 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 81.89864303497598]