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.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.00175/0.00175, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.00122/0.00122, allocations: 160.1 kB / 25.74 MB, free: 8.969 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.9921/0.9921, allocations: 158.6 MB / 187.5 MB, free: 2.949 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.683e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008428/0.008455, allocations: 9.262 MB / 260.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.01398, allocations: 2.984 MB / 263.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.01531, allocations: 55.62 kB / 263.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.01674, allocations: 0.6213 MB / 264 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.01889, allocations: 0.8459 MB / 264.9 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.0196, allocations: 371.3 kB / 265.3 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.02251, allocations: 2.773 MB / 268 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.02392, allocations: 1.073 MB / 269.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.02636, allocations: 1.781 MB / 270.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.02815, allocations: 1.423 MB / 272.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000564/0.02872, allocations: 311.9 kB / 272.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.02931, allocations: 391.9 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000672/0.02998, allocations: 0.9426 MB / 273.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.0312, allocations: 0.9783 MB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.03398, allocations: 2.293 MB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03399, allocations: 0 / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03399, allocations: 0 / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.41e-05/0.03407, allocations: 0 / 277.2 MB, free: 13.54 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004276/0.03835, allocations: 3.003 MB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.0384, allocations: 11.98 kB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007889/0.03919, allocations: 467.2 kB / 280.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.04087, allocations: 1.303 MB / 282 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.04096, allocations: 148.4 kB / 282.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.04117, allocations: 212.3 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.04336, allocations: 1.68 MB / 284 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.04341, allocations: 23.86 kB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.04353, allocations: 80 kB / 284.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/0.04362, allocations: 91.92 kB / 284.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.04503, allocations: 0.7607 MB / 285 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/0.05264, allocations: 6.987 MB / 292 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.05359, allocations: 0.6979 MB / 292.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008755/0.05447, allocations: 0.5569 MB / 293.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.05464, allocations: 52.91 kB / 293.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.05467, allocations: 46.39 kB / 293.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.05467, allocations: 0 / 293.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.005791/0.06046, allocations: 3.199 MB / 296.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.0605, allocations: 64.41 kB / 296.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.06182, allocations: 1.222 MB / 297.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.06189, allocations: 53.7 kB / 297.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.06246, allocations: 1.094 MB / 298.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.06275, allocations: 440.3 kB / 299.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.06306, allocations: 261.2 kB / 299.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.06323, allocations: 0.5394 MB / 300.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.06362, allocations: 227.8 kB / 300.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.06424, allocations: 0.6718 MB / 301.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.06538, allocations: 1.007 MB / 302.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.06538, allocations: 4 kB / 302.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002035/0.06742, allocations: 1.268 MB / 303.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.06746, allocations: 11.94 kB / 303.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.06748, allocations: 8 kB / 303.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006607/0.06814, allocations: 222.8 kB / 303.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.0689, allocations: 331.5 kB / 303.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.07202, allocations: 4.423 MB / 308.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.07281, allocations: 87.86 kB / 308.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.07288, allocations: 55.98 kB / 308.5 MB, free: 13.03 MB / 298.7 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.0005818/0.07347, allocations: 244.2 kB / 308.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.07373, allocations: 199 kB / 308.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.07533, allocations: 1.065 MB / 310 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.07534, allocations: 16 kB / 310 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.07535, allocations: 4 kB / 310 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.07535, allocations: 7.922 kB / 310 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/0.07935, allocations: 2.966 MB / 312.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.07936, allocations: 4 kB / 313 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.0799, allocations: 219.7 kB / 313.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006754/0.08057, allocations: 288.8 kB / 313.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.08063, allocations: 31.98 kB / 313.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.08417, allocations: 6.249 MB / 319.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.08417, allocations: 0 / 319.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.08632, allocations: 1.559 MB / 321.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.08685, allocations: 298.8 kB / 321.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.08698, allocations: 24 kB / 321.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.0874, allocations: 83.91 kB / 321.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.0876, allocations: 112.7 kB / 321.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.08765, allocations: 35.98 kB / 321.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007841/0.08844, allocations: 0.7084 MB / 322.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.08844, allocations: 4 kB / 322.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001147/0.08958, allocations: 452 kB / 323 MB, free: 13.88 MB / 314.7 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.0003079/0.08989, allocations: 187 kB / 323.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.09161, allocations: 1.291 MB / 324.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.09161, allocations: 8.125 kB / 324.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.09272, allocations: 1.098 MB / 325.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.09383, allocations: 393.8 kB / 325.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.09865, allocations: 3.754 MB / 329.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.0991, allocations: 0.575 MB / 330.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006529/0.09975, allocations: 300.5 kB / 330.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.09998, allocations: 104.5 kB / 330.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.09998, allocations: 0 / 330.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of Templates: time 0.1334/0.2334, allocations: 24.59 MB / 355.3 MB, free: 90.42 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] 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","",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.6962238249834627]