Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001883/0.001883, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002468/0.002468, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.463/1.463, allocations: 230.3 MB / 258 MB, free: 8.207 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter")
translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.89 kB / 378.8 MB, free: 2.734 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2387, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01636/0.255, allocations: 13.57 MB / 445.7 MB, free: 9.438 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008919/0.2639, allocations: 4.538 MB / 450.2 MB, free: 4.887 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.2658, allocations: 95.44 kB / 450.3 MB, free: 4.793 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002757/0.2686, allocations: 1.037 MB / 451.4 MB, free: 3.75 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003727/0.2723, allocations: 1.301 MB / 452.7 MB, free: 2.441 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.2744, allocations: 0.9096 MB / 453.6 MB, free: 1.535 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00516/0.2796, allocations: 3.949 MB / 457.5 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.2823, allocations: 1.788 MB / 459.3 MB, free: 11.71 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.2853, allocations: 1.897 MB / 461.2 MB, free: 9.812 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.2891, allocations: 2.215 MB / 463.4 MB, free: 7.59 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001783/0.2909, allocations: 0.5 MB / 463.9 MB, free: 7.09 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.2937, allocations: 0.7263 MB / 464.6 MB, free: 6.363 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001501/0.2952, allocations: 1.114 MB / 465.8 MB, free: 5.246 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003132/0.2983, allocations: 2.077 MB / 467.8 MB, free: 3.16 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009547/0.3079, allocations: 6.657 MB / 474.5 MB, free: 12.48 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3079, allocations: 0 / 474.5 MB, free: 12.48 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.743e-06/0.3079, allocations: 0 / 474.5 MB, free: 12.48 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0002012/0.3081, allocations: 7.922 kB / 474.5 MB, free: 12.47 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 822
 * Number of variables: 822
Notification: Performance of Generate backend data structure: time 0.01285/0.3209, allocations: 4.344 MB / 478.9 MB, free: 8.074 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.321, allocations: 11.97 kB / 478.9 MB, free: 8.062 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.3255, allocations: 0.8066 MB / 479.7 MB, free: 7.254 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.3301, allocations: 2.364 MB / 482 MB, free: 4.84 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.3303, allocations: 230.2 kB / 482.3 MB, free: 4.613 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005341/0.3308, allocations: 315.9 kB / 482.6 MB, free: 4.305 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/0.3386, allocations: 4.227 MB / 486.8 MB, free: 28 kB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-05/0.3387, allocations: 4 kB / 486.8 MB, free: 24 kB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.339, allocations: 131.9 kB / 486.9 MB, free: 15.89 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3392, allocations: 150.3 kB / 487.1 MB, free: 15.75 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006646/0.3458, allocations: 3.624 MB / 490.7 MB, free: 12.11 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.3671, allocations: 12.81 MB / 0.4917 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.3729, allocations: 2.657 MB / 0.4943 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.3762, allocations: 1.519 MB / 0.4958 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007037/0.3832, allocations: 3.702 MB / 0.4994 GB, free: 7.195 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3832, allocations: 47.56 kB / 0.4994 GB, free: 7.141 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=120): time 2.645e-06/0.3832, allocations: 0 / 0.4994 GB, free: 7.141 MB / 414.1 MB
Notification: Performance of matching and sorting (n=123): time 0.01144/0.3947, allocations: 4.994 MB / 0.5043 GB, free: 2.102 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3947, allocations: 72.34 kB / 0.5044 GB, free: 2.02 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.3973, allocations: 1.719 MB / 0.5061 GB, free: 304 kB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.3974, allocations: 49.7 kB / 0.5061 GB, free: 248 kB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.3986, allocations: 1.454 MB / 0.5075 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.399, allocations: 452.1 kB / 0.508 GB, free: 14.33 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.3994, allocations: 283.5 kB / 0.5082 GB, free: 14.05 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001173/0.3995, allocations: 305.1 kB / 0.5085 GB, free: 13.75 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4007, allocations: 0.6559 MB / 0.5092 GB, free: 13.09 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.4023, allocations: 1.129 MB / 0.5103 GB, free: 11.76 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.4051, allocations: 1.894 MB / 0.5121 GB, free: 9.668 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4051, allocations: 4 kB / 0.5121 GB, free: 9.664 MB / 430.1 MB
Notification: Performance of matching and sorting (n=200) (initialization): time 0.0045/0.4096, allocations: 2.339 MB / 0.5144 GB, free: 7.305 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4097, allocations: 8 kB / 0.5144 GB, free: 7.297 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.4097, allocations: 19.98 kB / 0.5144 GB, free: 7.277 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/0.4106, allocations: 319.4 kB / 0.5147 GB, free: 6.953 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.412, allocations: 351.5 kB / 0.5151 GB, free: 6.609 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/0.4196, allocations: 6.312 MB / 0.5212 GB, free: 15.95 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4211, allocations: 84 kB / 0.5213 GB, free: 15.87 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4212, allocations: 71.92 kB / 0.5214 GB, free: 15.8 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 65
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (177):
 * Single equations (assignments): 173
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 3
 * 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): 3 systems
   {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.423, allocations: 0.9931 MB / 0.5224 GB, free: 14.8 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.4234, allocations: 194.7 kB / 0.5225 GB, free: 14.61 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.4278, allocations: 2.035 MB / 0.5245 GB, free: 12.54 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4278, allocations: 16 kB / 0.5245 GB, free: 12.52 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.4278, allocations: 8 kB / 0.5246 GB, free: 12.52 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4278, allocations: 7.969 kB / 0.5246 GB, free: 12.51 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00907/0.4369, allocations: 4.765 MB / 0.5292 GB, free: 7.648 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4369, allocations: 4.188 kB / 0.5292 GB, free: 7.645 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.4377, allocations: 171.7 kB / 0.5294 GB, free: 7.477 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4391, allocations: 0.492 MB / 0.5299 GB, free: 6.969 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4393, allocations: 35.98 kB / 0.5299 GB, free: 6.934 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2092/0.6485, allocations: 10.92 MB / 0.5406 GB, free: 94.77 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6485, allocations: 2.688 kB / 0.5406 GB, free: 94.77 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/0.6535, allocations: 2.95 MB / 0.5434 GB, free: 93.92 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.6545, allocations: 344.1 kB / 0.5438 GB, free: 93.81 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.6547, allocations: 33.33 kB / 0.5438 GB, free: 93.79 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000907/0.6556, allocations: 68.78 kB / 0.5439 GB, free: 93.77 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.6559, allocations: 102.4 kB / 0.544 GB, free: 93.76 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.656, allocations: 39.38 kB / 0.544 GB, free: 93.75 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001607/0.6576, allocations: 1.188 MB / 0.5452 GB, free: 93.28 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.7e-07/0.6576, allocations: 0 / 0.5452 GB, free: 93.28 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001915/0.6595, allocations: 0.5494 MB / 0.5457 GB, free: 93.23 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (83):
 * Single equations (assignments): 78
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 5 systems
   {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003119/0.6599, allocations: 165.6 kB / 0.5459 GB, free: 93.12 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002981/0.6628, allocations: 1.987 MB / 0.5478 GB, free: 92.18 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6628, allocations: 3.094 kB / 0.5478 GB, free: 92.18 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001906/0.6647, allocations: 1.499 MB / 0.5493 GB, free: 91.23 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.667, allocations: 0.5293 MB / 0.5498 GB, free: 91.05 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/0.6746, allocations: 5.591 MB / 0.5552 GB, free: 88.27 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.6761, allocations: 2.29 MB / 0.5575 GB, free: 87.19 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001103/0.6772, allocations: 381.3 kB / 0.5578 GB, free: 87.12 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.6775, allocations: 130.8 kB / 0.558 GB, free: 87.1 MB / 446.1 MB
Notification: Performance of SimCode: time 1.052e-06/0.6775, allocations: 0 / 0.558 GB, free: 87.1 MB / 446.1 MB
Notification: Performance of Templates: time 0.04048/0.718, allocations: 29.97 MB / 0.5872 GB, free: 58.52 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 6.032104199752212]