Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.001895/0.001895, allocations: 106 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.002059/0.002059, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.706/1.706, 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD")
translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") [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.001809/0.001809, allocations: 52.34 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3577, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01182/0.3696, allocations: 9.84 MB / 406.7 MB, free: 2.555 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008942/0.3785, allocations: 3.17 MB / 409.8 MB, free: 240 kB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/0.382, allocations: 55.75 kB / 409.9 MB, free: 216 kB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0029/0.3849, allocations: 0.7131 MB / 410.6 MB, free: 15.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004498/0.3894, allocations: 0.8701 MB / 411.5 MB, free: 15.28 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.391, allocations: 390.7 kB / 411.9 MB, free: 15.04 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006467/0.3974, allocations: 3.103 MB / 415 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.4001, allocations: 1.293 MB / 416.2 MB, free: 12.44 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.4032, allocations: 1.401 MB / 417.6 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005016/0.4082, allocations: 1.731 MB / 419.4 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001716/0.4099, allocations: 361.2 kB / 419.7 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.4127, allocations: 457.6 kB / 420.2 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001953/0.4147, allocations: 1.012 MB / 421.2 MB, free: 9.664 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004381/0.419, allocations: 1.604 MB / 422.8 MB, free: 8.52 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008805/0.4278, allocations: 4.728 MB / 427.5 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.4278, allocations: 0 / 427.5 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.094e-06/0.4279, allocations: 0 / 427.5 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0002301/0.4281, allocations: 0 / 427.5 MB, free: 4.605 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: 592
 * Number of variables: 592
Notification: Performance of Generate backend data structure: time 0.01145/0.4395, allocations: 3.221 MB / 430.7 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.4396, allocations: 15.98 kB / 430.8 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.4408, allocations: 331 kB / 431.1 MB, free: 0.9961 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.4448, allocations: 1.588 MB / 432.7 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.445, allocations: 176.7 kB / 432.8 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.4455, allocations: 228 kB / 433.1 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.456, allocations: 3.184 MB / 436.2 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.4562, allocations: 15.95 kB / 436.3 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.4565, allocations: 95.98 kB / 436.4 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.4567, allocations: 104.4 kB / 436.5 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007112/0.4638, allocations: 2.742 MB / 439.2 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02298/0.4868, allocations: 9.657 MB / 448.9 MB, free: 14.78 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.4898, allocations: 1.537 MB / 450.4 MB, free: 13.24 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.4921, allocations: 1.128 MB / 451.5 MB, free: 12.11 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.4924, allocations: 57.75 kB / 451.6 MB, free: 12.06 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.4924, allocations: 43.56 kB / 451.6 MB, free: 12.01 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=126): time 4.278e-06/0.4924, allocations: 0 / 451.6 MB, free: 12.01 MB / 366.1 MB
Notification: Performance of matching and sorting (n=142): time 0.02174/0.5142, allocations: 7.72 MB / 459.3 MB, free: 4.242 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.5143, allocations: 68.72 kB / 459.4 MB, free: 4.164 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.5177, allocations: 1.669 MB / 461.1 MB, free: 2.488 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003042/0.518, allocations: 53.69 kB / 461.1 MB, free: 2.43 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.5192, allocations: 1.112 MB / 462.2 MB, free: 1.305 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006933/0.5199, allocations: 0.4997 MB / 462.7 MB, free: 0.8008 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000613/0.5205, allocations: 295.5 kB / 463 MB, free: 0.5039 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001936/0.5207, allocations: 305.1 kB / 463.3 MB, free: 208 kB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5224, allocations: 0.9136 MB / 464.2 MB, free: 15.29 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.5243, allocations: 1.255 MB / 465.5 MB, free: 13.89 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.5278, allocations: 2.254 MB / 467.8 MB, free: 11.49 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.5278, allocations: 7.938 kB / 467.8 MB, free: 11.48 MB / 382.1 MB
Notification: Performance of matching and sorting (n=198) (initialization): time 0.006508/0.5344, allocations: 3.034 MB / 470.8 MB, free: 8.422 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.5344, allocations: 8 kB / 470.8 MB, free: 8.414 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.5344, allocations: 12 kB / 470.8 MB, free: 8.402 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.5367, allocations: 0.8443 MB / 471.7 MB, free: 7.543 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.5381, allocations: 303.5 kB / 472 MB, free: 7.246 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.5516, allocations: 9.619 MB / 481.6 MB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.5535, allocations: 95.92 kB / 481.7 MB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.5538, allocations: 60 kB / 481.7 MB, free: 13.14 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 46
 * Number of states: 0 ()
 * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155):
 * Single equations (assignments): 150
 * 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%), (9,19,33.3%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002085/0.5559, allocations: 0.8134 MB / 482.5 MB, free: 12.31 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.5565, allocations: 190.8 kB / 482.7 MB, free: 12.12 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/0.5623, allocations: 2.827 MB / 485.6 MB, free: 9.27 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.5623, allocations: 12 kB / 485.6 MB, free: 9.258 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5623, allocations: 12 kB / 485.6 MB, free: 9.246 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5623, allocations: 3.984 kB / 485.6 MB, free: 9.242 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5739, allocations: 5.633 MB / 491.2 MB, free: 3.504 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.5739, allocations: 0 / 491.2 MB, free: 3.504 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.5748, allocations: 195.6 kB / 491.4 MB, free: 3.312 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/0.5772, allocations: 0.9019 MB / 492.3 MB, free: 2.395 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.5774, allocations: 35.98 kB / 492.3 MB, free: 2.359 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.5915, allocations: 11.11 MB / 0.4917 GB, free: 6.781 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5915, allocations: 12 kB / 0.4917 GB, free: 6.77 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.5991, allocations: 4.135 MB / 0.4957 GB, free: 2.574 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.6006, allocations: 402.6 kB / 0.4961 GB, free: 2.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/0.6011, allocations: 35.94 kB / 0.4961 GB, free: 2.145 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/0.602, allocations: 79.91 kB / 0.4962 GB, free: 2.066 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/0.6025, allocations: 156.9 kB / 0.4963 GB, free: 1.91 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6026, allocations: 36 kB / 0.4964 GB, free: 1.875 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.002237/0.6049, allocations: 1.153 MB / 0.4975 GB, free: 0.7266 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.6049, allocations: 0 / 0.4975 GB, free: 0.7266 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.002745/0.6076, allocations: 0.5585 MB / 0.4981 GB, free: 172 kB / 414.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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (99):
 * Single equations (assignments): 94
 * 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,1,100.0%), (9,19,33.3%), (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.0005171/0.6081, allocations: 198.9 kB / 0.4982 GB, free: 15.96 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.005582/0.6137, allocations: 2.758 MB / 0.5009 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6137, allocations: 4 kB / 0.5009 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003888/0.6176, allocations: 1.903 MB / 0.5028 GB, free: 11.2 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.621, allocations: 0.4936 MB / 0.5033 GB, free: 10.71 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.6311, allocations: 5.278 MB / 0.5084 GB, free: 5.355 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.6332, allocations: 2.02 MB / 0.5104 GB, free: 3.305 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001372/0.6346, allocations: 411.3 kB / 0.5108 GB, free: 2.898 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.6349, allocations: 115.4 kB / 0.5109 GB, free: 2.785 MB / 430.1 MB
Notification: Performance of SimCode: time 1.543e-06/0.6349, allocations: 0 / 0.5109 GB, free: 2.785 MB / 430.1 MB
Notification: Performance of Templates: time 0.06769/0.7026, allocations: 34.63 MB / 0.5447 GB, free: 88 kB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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: 10.802416029386222]