Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 104.8 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL")
translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.91 kB / 347.7 MB, free: 9.555 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3515, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01089/0.3624, allocations: 9.428 MB / 406.2 MB, free: 2.844 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006314/0.3687, allocations: 3.043 MB / 409.3 MB, free: 0.625 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.371, allocations: 57.81 kB / 409.3 MB, free: 0.5977 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001989/0.373, allocations: 0.675 MB / 410 MB, free: 244 kB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003271/0.3763, allocations: 0.8279 MB / 410.9 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3775, allocations: 351.8 kB / 411.2 MB, free: 15.5 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004636/0.3821, allocations: 2.689 MB / 413.9 MB, free: 14.09 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.384, allocations: 1.097 MB / 415 MB, free: 13.36 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.387, allocations: 1.225 MB / 416.2 MB, free: 12.65 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.3903, allocations: 1.533 MB / 417.7 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008205/0.3912, allocations: 308 kB / 418 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3929, allocations: 407.8 kB / 418.4 MB, free: 11.58 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001094/0.394, allocations: 0.8963 MB / 419.3 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002095/0.3961, allocations: 1.403 MB / 420.7 MB, free: 9.91 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005713/0.4018, allocations: 4.102 MB / 424.8 MB, free: 6.887 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.4018, allocations: 3.984 kB / 424.8 MB, free: 6.883 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.855e-06/0.4018, allocations: 0 / 424.8 MB, free: 6.883 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001674/0.4019, allocations: 0 / 424.8 MB, free: 6.883 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 524
 * Number of variables: 524
Notification: Performance of Generate backend data structure: time 0.008609/0.4106, allocations: 2.837 MB / 427.7 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4106, allocations: 19.98 kB / 427.7 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.4116, allocations: 291.2 kB / 428 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4148, allocations: 1.39 MB / 429.4 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.415, allocations: 160.3 kB / 429.5 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/0.4155, allocations: 208.1 kB / 429.7 MB, free: 2.293 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/0.4221, allocations: 2.732 MB / 432.5 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.4221, allocations: 4 kB / 432.5 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.4223, allocations: 83.98 kB / 432.6 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.4225, allocations: 91.94 kB / 432.6 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.4272, allocations: 2.322 MB / 435 MB, free: 12.97 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.4429, allocations: 8.208 MB / 443.2 MB, free: 4.523 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.4449, allocations: 1.251 MB / 444.4 MB, free: 3.273 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.447, allocations: 1.011 MB / 445.4 MB, free: 2.262 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.4472, allocations: 40.97 kB / 445.5 MB, free: 2.219 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.4472, allocations: 43.56 kB / 445.5 MB, free: 2.168 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.4472, allocations: 3.938 kB / 445.5 MB, free: 2.164 MB / 350.1 MB
Notification: Performance of matching and sorting (n=120): time 0.01418/0.4614, allocations: 5.963 MB / 451.5 MB, free: 12.16 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.4615, allocations: 64.41 kB / 451.5 MB, free: 12.08 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.4641, allocations: 1.52 MB / 453.1 MB, free: 10.55 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.4642, allocations: 45.7 kB / 453.1 MB, free: 10.5 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.4651, allocations: 1.002 MB / 454.1 MB, free: 9.488 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4655, allocations: 444.2 kB / 454.5 MB, free: 9.051 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/0.4659, allocations: 259.5 kB / 454.8 MB, free: 8.793 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002/0.4661, allocations: 361.9 kB / 455.2 MB, free: 8.434 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4674, allocations: 0.7261 MB / 455.9 MB, free: 7.707 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.4689, allocations: 1.063 MB / 456.9 MB, free: 6.516 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.4719, allocations: 1.875 MB / 458.8 MB, free: 4.508 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4719, allocations: 4 kB / 458.8 MB, free: 4.504 MB / 366.1 MB
Notification: Performance of matching and sorting (n=172) (initialization): time 0.00474/0.4766, allocations: 2.342 MB / 461.2 MB, free: 2.141 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4767, allocations: 8.344 kB / 461.2 MB, free: 2.133 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/0.4767, allocations: 16 kB / 461.2 MB, free: 2.117 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4778, allocations: 403.1 kB / 461.6 MB, free: 1.711 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.4795, allocations: 335.5 kB / 461.9 MB, free: 1.383 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/0.4857, allocations: 4.853 MB / 466.8 MB, free: 12.3 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.4875, allocations: 91.86 kB / 466.9 MB, free: 12.21 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.4877, allocations: 59.94 kB / 466.9 MB, free: 12.15 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * Number of states: 0 ()
 * Number of discrete variables: 3 (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 (156):
 * Single equations (assignments): 152
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 2
 * 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): 2 systems
   {(2,12,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001908/0.4896, allocations: 0.7081 MB / 467.6 MB, free: 11.43 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/0.4902, allocations: 167 kB / 467.8 MB, free: 11.27 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.4947, allocations: 2.129 MB / 469.9 MB, free: 9.113 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.4947, allocations: 19.92 kB / 469.9 MB, free: 9.094 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4948, allocations: 4 kB / 469.9 MB, free: 9.09 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4948, allocations: 3.984 kB / 469.9 MB, free: 9.086 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009067/0.5038, allocations: 4.533 MB / 474.5 MB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5038, allocations: 4 kB / 474.5 MB, free: 4.465 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5049, allocations: 224 kB / 474.7 MB, free: 4.246 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.5062, allocations: 470.8 kB / 475.2 MB, free: 3.773 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5063, allocations: 39.91 kB / 475.2 MB, free: 3.734 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007228/0.5135, allocations: 6.367 MB / 481.6 MB, free: 13.02 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5135, allocations: 4 kB / 481.6 MB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.5191, allocations: 3.189 MB / 484.8 MB, free: 9.766 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.5201, allocations: 330.8 kB / 485.1 MB, free: 9.441 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.5203, allocations: 24 kB / 485.1 MB, free: 9.418 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.5212, allocations: 75.91 kB / 485.2 MB, free: 9.344 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.5215, allocations: 116.7 kB / 485.3 MB, free: 9.23 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.5215, allocations: 39.92 kB / 485.3 MB, free: 9.191 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.00163/0.5232, allocations: 1.048 MB / 486.4 MB, free: 8.145 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5232, allocations: 3.938 kB / 486.4 MB, free: 8.141 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001449/0.5246, allocations: 459.9 kB / 486.8 MB, free: 7.691 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi)
 * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (104):
 * Single equations (assignments): 100
 * 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
   {(2,12,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.0004033/0.525, allocations: 190.8 kB / 487 MB, free: 7.496 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.00357/0.5286, allocations: 2.045 MB / 489.1 MB, free: 5.418 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5286, allocations: 0 / 489.1 MB, free: 5.418 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002292/0.5309, allocations: 1.362 MB / 490.4 MB, free: 4.016 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.5328, allocations: 448.8 kB / 490.9 MB, free: 3.574 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.5411, allocations: 4.559 MB / 495.4 MB, free: 14.95 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.5431, allocations: 1.826 MB / 497.2 MB, free: 13.09 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.001796/0.5449, allocations: 393.5 kB / 497.6 MB, free: 12.7 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.5453, allocations: 111.4 kB / 497.7 MB, free: 12.59 MB / 414.1 MB
Notification: Performance of SimCode: time 3.156e-06/0.5453, allocations: 0 / 497.7 MB, free: 12.59 MB / 414.1 MB
Notification: Performance of Templates: time 0.05531/0.6006, allocations: 27.12 MB / 0.5125 GB, free: 1.422 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.474156122654676]