Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001222/0.001222, 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.002296/0.002296, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.565/1.565, allocations: 230.3 MB / 258 MB, free: 8.27 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 378.8 MB, free: 2.801 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2888, allocations: 53.37 MB / 432.1 MB, free: 7.098 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01304/0.3018, allocations: 8.955 MB / 441.1 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007063/0.3089, allocations: 2.913 MB / 444 MB, free: 11.19 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3101, allocations: 59.62 kB / 444.1 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001865/0.312, allocations: 0.6442 MB / 444.7 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002513/0.3145, allocations: 0.7535 MB / 445.5 MB, free: 9.727 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.3153, allocations: 327.5 kB / 445.8 MB, free: 9.406 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003326/0.3186, allocations: 2.243 MB / 448 MB, free: 7.156 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.3202, allocations: 1.024 MB / 449 MB, free: 6.086 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.322, allocations: 1.051 MB / 450.1 MB, free: 5.031 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.3241, allocations: 1.323 MB / 451.4 MB, free: 3.703 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.3246, allocations: 268 kB / 451.7 MB, free: 3.441 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009176/0.3255, allocations: 375.7 kB / 452 MB, free: 3.074 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008982/0.3264, allocations: 0.7636 MB / 452.8 MB, free: 2.309 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001539/0.3279, allocations: 1.209 MB / 454 MB, free: 1.094 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00458/0.3325, allocations: 3.55 MB / 457.6 MB, free: 13.53 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3325, allocations: 0 / 457.6 MB, free: 13.53 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.323e-06/0.3325, allocations: 0 / 457.6 MB, free: 13.53 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.397e-05/0.3326, allocations: 0 / 457.6 MB, free: 13.53 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.006079/0.3387, allocations: 2.474 MB / 460 MB, free: 11.01 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3387, allocations: 12.03 kB / 460.1 MB, free: 11 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.3395, allocations: 267.4 kB / 460.3 MB, free: 10.74 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.3423, allocations: 1.238 MB / 461.6 MB, free: 9.457 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3424, allocations: 135.9 kB / 461.7 MB, free: 9.324 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.3428, allocations: 187.9 kB / 461.9 MB, free: 9.141 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.3474, allocations: 2.374 MB / 464.2 MB, free: 6.73 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.3474, allocations: 7.953 kB / 464.3 MB, free: 6.723 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.3476, allocations: 72 kB / 464.3 MB, free: 6.652 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.3477, allocations: 95.5 kB / 464.4 MB, free: 6.559 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.3515, allocations: 1.962 MB / 466.4 MB, free: 4.594 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.3637, allocations: 6.949 MB / 473.3 MB, free: 13.45 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.3657, allocations: 1.003 MB / 474.3 MB, free: 12.43 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.3675, allocations: 0.8038 MB / 475.1 MB, free: 11.63 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.3677, allocations: 40.97 kB / 475.2 MB, free: 11.59 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3677, allocations: 47.56 kB / 475.2 MB, free: 11.54 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=87): time 2.695e-06/0.3677, allocations: 0 / 475.2 MB, free: 11.54 MB / 382.1 MB
Notification: Performance of matching and sorting (n=104): time 0.01457/0.3823, allocations: 5.675 MB / 480.9 MB, free: 5.82 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3823, allocations: 60.41 kB / 481 MB, free: 5.75 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.3845, allocations: 1.215 MB / 482.2 MB, free: 4.523 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000133/0.3846, allocations: 49.64 kB / 482.2 MB, free: 4.469 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007534/0.3854, allocations: 0.8908 MB / 483.1 MB, free: 3.566 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.3858, allocations: 384.8 kB / 483.5 MB, free: 3.188 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.3862, allocations: 222.9 kB / 483.7 MB, free: 2.965 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002214/0.3864, allocations: 353.9 kB / 484 MB, free: 2.613 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3876, allocations: 0.6193 MB / 484.7 MB, free: 1.992 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.389, allocations: 0.9227 MB / 485.6 MB, free: 0.9453 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.3916, allocations: 1.639 MB / 487.2 MB, free: 15.18 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3916, allocations: 4 kB / 487.2 MB, free: 15.18 MB / 398.1 MB
Notification: Performance of matching and sorting (n=154) (initialization): time 0.004232/0.3958, allocations: 2.145 MB / 489.4 MB, free: 13.01 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.3959, allocations: 8 kB / 489.4 MB, free: 13 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.3959, allocations: 15.98 kB / 489.4 MB, free: 12.98 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.3972, allocations: 476.1 kB / 489.9 MB, free: 12.5 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3982, allocations: 275.6 kB / 490.1 MB, free: 12.23 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.4063, allocations: 6.703 MB / 496.8 MB, free: 5.191 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4076, allocations: 95.92 kB / 496.9 MB, free: 5.098 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4077, allocations: 44 kB / 497 MB, free: 5.055 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.001119/0.4088, allocations: 0.5988 MB / 497.6 MB, free: 4.445 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.4091, allocations: 147 kB / 497.7 MB, free: 4.301 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.4131, allocations: 1.945 MB / 499.7 MB, free: 2.332 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4131, allocations: 16 kB / 499.7 MB, free: 2.316 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4131, allocations: 4 kB / 499.7 MB, free: 2.312 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4131, allocations: 3.984 kB / 499.7 MB, free: 2.309 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/0.4214, allocations: 4.096 MB / 0.492 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4214, allocations: 4 kB / 0.492 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.4222, allocations: 183.7 kB / 0.4922 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.4237, allocations: 0.5197 MB / 0.4927 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.4238, allocations: 31.98 kB / 0.4927 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009594/0.4334, allocations: 8.21 MB / 0.5007 GB, free: 4.688 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.4334, allocations: 4.312 kB / 0.5007 GB, free: 4.684 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/0.4389, allocations: 2.867 MB / 0.5035 GB, free: 1.742 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000979/0.4398, allocations: 282.9 kB / 0.5038 GB, free: 1.465 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.4401, allocations: 27.94 kB / 0.5038 GB, free: 1.438 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.441, allocations: 67.92 kB / 0.5039 GB, free: 1.371 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.4413, allocations: 100.8 kB / 0.504 GB, free: 1.273 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.545e-05/0.4414, allocations: 35.92 kB / 0.504 GB, free: 1.238 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.00135/0.4427, allocations: 0.8383 MB / 0.5048 GB, free: 404 kB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4427, allocations: 0 / 0.5048 GB, free: 404 kB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001586/0.4443, allocations: 408 kB / 0.5052 GB, free: 15.99 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.000398/0.4447, allocations: 182.9 kB / 0.5054 GB, free: 15.81 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003757/0.4485, allocations: 1.948 MB / 0.5073 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4485, allocations: 0 / 0.5073 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002755/0.4512, allocations: 1.369 MB / 0.5086 GB, free: 12.39 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4534, allocations: 390.8 kB / 0.509 GB, free: 12.02 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/0.461, allocations: 3.979 MB / 0.5129 GB, free: 7.961 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.4626, allocations: 1.634 MB / 0.5145 GB, free: 6.293 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001054/0.4636, allocations: 303.7 kB / 0.5148 GB, free: 5.992 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.4639, allocations: 95.42 kB / 0.5149 GB, free: 5.898 MB / 430.1 MB
Notification: Performance of SimCode: time 9.72e-07/0.4639, allocations: 0 / 0.5149 GB, free: 5.898 MB / 430.1 MB
Notification: Performance of Templates: time 0.248/0.7119, allocations: 23.76 MB / 0.5381 GB, free: 102.2 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.925586080178618]