Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001364/0.001364, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001496/0.001496, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter")
translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [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.001985/0.001985, allocations: 64.77 kB / 379 MB, free: 2.68 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2574, allocations: 53.37 MB / 432.4 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01116/0.2686, allocations: 8.964 MB / 441.4 MB, free: 14 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005654/0.2742, allocations: 2.905 MB / 444.3 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.276, allocations: 59.62 kB / 444.3 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001774/0.2777, allocations: 0.6407 MB / 445 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002315/0.2801, allocations: 0.7574 MB / 445.7 MB, free: 9.621 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.2809, allocations: 335.4 kB / 446.1 MB, free: 9.293 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002882/0.2838, allocations: 2.237 MB / 448.3 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2853, allocations: 1.024 MB / 449.3 MB, free: 5.973 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.287, allocations: 1.044 MB / 450.4 MB, free: 4.926 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.289, allocations: 1.331 MB / 451.7 MB, free: 3.59 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.2894, allocations: 268 kB / 452 MB, free: 3.328 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007467/0.2901, allocations: 359.9 kB / 452.3 MB, free: 2.977 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008446/0.291, allocations: 0.7752 MB / 453.1 MB, free: 2.199 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001385/0.2924, allocations: 1.213 MB / 454.3 MB, free: 0.9805 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004284/0.2967, allocations: 3.552 MB / 457.9 MB, free: 13.42 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2967, allocations: 0 / 457.9 MB, free: 13.42 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.2967, allocations: 0 / 457.9 MB, free: 13.42 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.603e-05/0.2967, allocations: 0 / 457.9 MB, free: 13.42 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 468
 * Number of variables: 468
Notification: Performance of Generate backend data structure: time 0.005429/0.3022, allocations: 2.47 MB / 460.3 MB, free: 10.91 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3022, allocations: 16.02 kB / 460.3 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007262/0.3029, allocations: 263.4 kB / 460.6 MB, free: 10.63 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.3053, allocations: 1.242 MB / 461.8 MB, free: 9.348 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.3055, allocations: 135.9 kB / 462 MB, free: 9.215 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.3058, allocations: 187.9 kB / 462.2 MB, free: 9.031 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.3101, allocations: 2.367 MB / 464.5 MB, free: 6.629 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.3101, allocations: 15.94 kB / 464.5 MB, free: 6.613 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.3103, allocations: 76 kB / 464.6 MB, free: 6.539 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3104, allocations: 95.44 kB / 464.7 MB, free: 6.445 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.3143, allocations: 1.958 MB / 466.7 MB, free: 4.484 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.3273, allocations: 6.953 MB / 473.6 MB, free: 13.34 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.3292, allocations: 0.9966 MB / 474.6 MB, free: 12.33 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.3309, allocations: 0.7999 MB / 475.4 MB, free: 11.53 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.3311, allocations: 52.94 kB / 475.5 MB, free: 11.48 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.3312, allocations: 43.56 kB / 475.5 MB, free: 11.43 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.3312, allocations: 0 / 475.5 MB, free: 11.43 MB / 382.1 MB
Notification: Performance of matching and sorting (n=104): time 0.01397/0.3452, allocations: 5.66 MB / 481.2 MB, free: 5.723 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3452, allocations: 68.28 kB / 481.2 MB, free: 5.645 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.347, allocations: 1.219 MB / 482.5 MB, free: 4.414 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.3471, allocations: 45.7 kB / 482.5 MB, free: 4.363 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000722/0.3479, allocations: 0.8908 MB / 483.4 MB, free: 3.461 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.3482, allocations: 384.8 kB / 483.8 MB, free: 3.082 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3485, allocations: 218.9 kB / 484 MB, free: 2.863 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001798/0.3487, allocations: 353.9 kB / 484.3 MB, free: 2.512 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3498, allocations: 0.6155 MB / 484.9 MB, free: 1.895 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3512, allocations: 0.9188 MB / 485.9 MB, free: 0.8516 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.3538, allocations: 1.643 MB / 487.5 MB, free: 15.08 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3538, allocations: 4 kB / 487.5 MB, free: 15.08 MB / 398.1 MB
Notification: Performance of matching and sorting (n=154) (initialization): time 0.004076/0.3578, allocations: 2.149 MB / 489.7 MB, free: 12.91 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3579, allocations: 14.81 kB / 489.7 MB, free: 12.9 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.3579, allocations: 12 kB / 489.7 MB, free: 12.89 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3591, allocations: 480.1 kB / 490.2 MB, free: 12.4 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3601, allocations: 271.6 kB / 490.4 MB, free: 12.14 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/0.3676, allocations: 6.707 MB / 497.1 MB, free: 5.09 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3686, allocations: 83.86 kB / 497.2 MB, free: 5.008 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.3687, allocations: 48 kB / 497.3 MB, free: 4.961 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 41
 * 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 (132):
 * Single equations (assignments): 127
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 2 systems
   {(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): 3 systems
   {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.3698, allocations: 0.6028 MB / 497.9 MB, free: 4.348 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.3701, allocations: 143 kB / 498 MB, free: 4.207 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.3738, allocations: 1.952 MB / 499.9 MB, free: 2.227 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3738, allocations: 12 kB / 500 MB, free: 2.215 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3738, allocations: 4 kB / 500 MB, free: 2.211 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3739, allocations: 3.984 kB / 500 MB, free: 2.207 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007334/0.3812, allocations: 4.096 MB / 0.4922 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3812, allocations: 0 / 0.4922 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.3819, allocations: 183.7 kB / 0.4924 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.3834, allocations: 0.5237 MB / 0.4929 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.3835, allocations: 31.98 kB / 0.493 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008904/0.3924, allocations: 8.213 MB / 0.501 GB, free: 4.586 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3924, allocations: 7.938 kB / 0.501 GB, free: 4.578 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.3976, allocations: 2.863 MB / 0.5038 GB, free: 1.641 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007606/0.3983, allocations: 278.9 kB / 0.5041 GB, free: 1.367 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.3985, allocations: 39.86 kB / 0.5041 GB, free: 1.328 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.3993, allocations: 63.92 kB / 0.5042 GB, free: 1.266 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.3996, allocations: 96.77 kB / 0.5042 GB, free: 1.172 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.3996, allocations: 39.92 kB / 0.5043 GB, free: 1.133 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.001382/0.401, allocations: 0.8345 MB / 0.5051 GB, free: 300 kB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 0 / 0.5051 GB, free: 300 kB / 414.1 MB
Notification: Performance of remove unused functions: time 0.00175/0.4028, allocations: 412 kB / 0.5055 GB, free: 15.89 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88):
 * Single equations (assignments): 83
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 4
 * 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): 4 systems
   {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004655/0.4032, allocations: 186.9 kB / 0.5057 GB, free: 15.7 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003563/0.4068, allocations: 1.948 MB / 0.5076 GB, free: 13.71 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4068, allocations: 4.625 kB / 0.5076 GB, free: 13.7 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00234/0.4092, allocations: 1.361 MB / 0.5089 GB, free: 12.29 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.411, allocations: 384.6 kB / 0.5093 GB, free: 11.92 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.4174, allocations: 3.985 MB / 0.5132 GB, free: 7.855 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.4189, allocations: 1.63 MB / 0.5148 GB, free: 6.191 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0008791/0.4198, allocations: 295.8 kB / 0.515 GB, free: 5.898 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.42, allocations: 103.4 kB / 0.5151 GB, free: 5.797 MB / 430.1 MB
Notification: Performance of SimCode: time 7.01e-07/0.42, allocations: 4 kB / 0.5151 GB, free: 5.793 MB / 430.1 MB
Notification: Performance of Templates: time 0.2552/0.6752, allocations: 23.76 MB / 0.5383 GB, free: 102 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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: 5.584710679017007]