Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 173.2 kB / 26.39 MB, free: 8.156 MB / 18.57 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 0.9998/0.9998, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.372e-05, allocations: 6.312 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.007823/0.007847, allocations: 8.623 MB / 260.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.01268, allocations: 2.844 MB / 263.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.0135, allocations: 47.69 kB / 263.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.01464, allocations: 0.5942 MB / 264.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.01635, allocations: 0.8072 MB / 265.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.01692, allocations: 331.5 kB / 265.5 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.01915, allocations: 2.478 MB / 268 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.0205, allocations: 0.9649 MB / 269 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.02289, allocations: 1.739 MB / 270.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.02454, allocations: 1.228 MB / 271.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004925/0.02503, allocations: 272 kB / 272.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000619/0.02565, allocations: 355.8 kB / 272.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.02628, allocations: 0.8063 MB / 273.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.02739, allocations: 0.8652 MB / 274.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.02964, allocations: 1.986 MB / 276.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.02964, allocations: 0 / 276.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02964, allocations: 4 kB / 276.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.379e-05/0.02968, allocations: 0 / 276.2 MB, free: 15.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.002867/0.03254, allocations: 2.599 MB / 278.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.03258, allocations: 11.98 kB / 278.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.03319, allocations: 435.2 kB / 279.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.0345, allocations: 1.106 MB / 280.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/0.03459, allocations: 140 kB / 280.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.0348, allocations: 184.3 kB / 280.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.03641, allocations: 1.364 MB / 282 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.03645, allocations: 7.938 kB / 282 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.03656, allocations: 83.97 kB / 282.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.758e-05/0.03665, allocations: 83.5 kB / 282.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.03749, allocations: 0.5177 MB / 282.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006624/0.04411, allocations: 5.94 MB / 288.6 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.04496, allocations: 0.5025 MB / 289.2 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/0.04563, allocations: 461.3 kB / 289.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.04578, allocations: 52.91 kB / 289.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.04582, allocations: 42.39 kB / 289.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.484e-06/0.04582, allocations: 0 / 289.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004394/0.05021, allocations: 2.214 MB / 291.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.05025, allocations: 64.41 kB / 292 MB, free: 14.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.05116, allocations: 1.057 MB / 293 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.05121, allocations: 41.7 kB / 293.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.05174, allocations: 1.014 MB / 294.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.05195, allocations: 376.8 kB / 294.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.05219, allocations: 220.4 kB / 294.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.05234, allocations: 0.5354 MB / 295.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.05254, allocations: 150.5 kB / 295.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.05295, allocations: 0.5649 MB / 295.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.05365, allocations: 0.8116 MB / 296.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.05366, allocations: 0 / 296.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001848/0.05551, allocations: 1.136 MB / 297.9 MB, free: 8.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.05552, allocations: 8.25 kB / 297.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.05554, allocations: 12 kB / 297.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.05656, allocations: 499.5 kB / 298.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.05703, allocations: 215.6 kB / 298.6 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.0613, allocations: 5.391 MB / 304 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.06201, allocations: 43.94 kB / 304 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.06207, allocations: 36 kB / 304 MB, free: 2.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.06257, allocations: 236.2 kB / 304.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.06285, allocations: 171.2 kB / 304.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.06452, allocations: 0.8648 MB / 305.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.06453, allocations: 8 kB / 305.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.06453, allocations: 4 kB / 305.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.06454, allocations: 7.969 kB / 305.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.06748, allocations: 2.144 MB / 307.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.06748, allocations: 0 / 307.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.06788, allocations: 155.8 kB / 307.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.06846, allocations: 266.6 kB / 307.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.06851, allocations: 27.98 kB / 307.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.07185, allocations: 6.021 MB / 313.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.07185, allocations: 7.938 kB / 313.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.0735, allocations: 1.249 MB / 315.2 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.07392, allocations: 223.1 kB / 315.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.07404, allocations: 23.98 kB / 315.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.07438, allocations: 35.98 kB / 315.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.07453, allocations: 92.72 kB / 315.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.07457, allocations: 27.92 kB / 315.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005514/0.07512, allocations: 0.5952 MB / 316.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07512, allocations: 0 / 316.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001167/0.07629, allocations: 416 kB / 316.6 MB, free: 5.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003037/0.07659, allocations: 179 kB / 316.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.07795, allocations: 1.173 MB / 317.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.07795, allocations: 0 / 317.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.07904, allocations: 0.9392 MB / 318.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.07994, allocations: 323 kB / 319.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.08426, allocations: 3.346 MB / 322.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.08471, allocations: 0.5152 MB / 323.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004535/0.08517, allocations: 167.1 kB / 323.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/0.08572, allocations: 382 kB / 323.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.08572, allocations: 4 kB / 323.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Templates: time 0.0338/0.1195, allocations: 23.98 MB / 347.6 MB, free: 5.926 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6111761899665]