Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.0009427/0.0009427, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001898/0.001898, allocations: 172.1 kB / 25.7 MB, free: 8.434 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.8358/0.8358, allocations: 158.6 MB / 187.6 MB, free: 2.754 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.329e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01966/0.01967, allocations: 12.36 MB / 263.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.02496, allocations: 4.338 MB / 268.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.02562, allocations: 87.38 kB / 268.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.027, allocations: 0.9819 MB / 269.3 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.02873, allocations: 1.284 MB / 270.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.02937, allocations: 0.5343 MB / 271.1 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.03217, allocations: 4.846 MB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.03368, allocations: 2.014 MB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.03625, allocations: 3.33 MB / 281.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.03803, allocations: 2.44 MB / 283.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.03845, allocations: 0.543 MB / 284.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.03906, allocations: 0.6326 MB / 284.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008638/0.03992, allocations: 1.566 MB / 286.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.04105, allocations: 1.723 MB / 288.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.04371, allocations: 4.015 MB / 292.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.04371, allocations: 0 / 292.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.04371, allocations: 0 / 292.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.04374, allocations: 0 / 292.2 MB, free: 14.34 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004023/0.04776, allocations: 4.382 MB / 296.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.04779, allocations: 11.98 kB / 296.6 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.04867, allocations: 0.6604 MB / 297.3 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.05035, allocations: 1.476 MB / 298.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.05049, allocations: 267.4 kB / 299 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.05082, allocations: 356.3 kB / 299.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.05349, allocations: 2.852 MB / 302.2 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.05355, allocations: 11.98 kB / 302.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.05377, allocations: 152 kB / 302.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.05389, allocations: 175.1 kB / 302.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.05537, allocations: 1.066 MB / 303.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009962/0.06533, allocations: 9.128 MB / 312.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.06668, allocations: 1.377 MB / 314.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009149/0.06759, allocations: 0.7649 MB / 314.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.06775, allocations: 61.97 kB / 315 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.06778, allocations: 56.56 kB / 315 MB, free: 6.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.216e-06/0.06779, allocations: 4 kB / 315 MB, free: 6.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00648/0.07427, allocations: 4.008 MB / 319 MB, free: 2.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.07431, allocations: 77.34 kB / 319.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.07541, allocations: 1.502 MB / 320.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.0755, allocations: 61.7 kB / 320.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.07603, allocations: 1.351 MB / 322 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.07639, allocations: 0.759 MB / 322.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.07678, allocations: 392.2 kB / 323.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.07684, allocations: 305.1 kB / 323.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.07724, allocations: 291.8 kB / 323.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.0778, allocations: 0.728 MB / 324.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.0789, allocations: 1.284 MB / 325.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.07891, allocations: 4 kB / 325.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00186/0.08077, allocations: 1.528 MB / 327.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.08079, allocations: 16.06 kB / 327.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.0808, allocations: 12 kB / 327.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.082, allocations: 0.5704 MB / 327.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/0.08298, allocations: 0.4915 MB / 328.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.08688, allocations: 5.646 MB / 334 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.08758, allocations: 79.92 kB / 334.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.08768, allocations: 63.98 kB / 334.2 MB, free: 3.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (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.0006257/0.08831, allocations: 252 kB / 334.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.08861, allocations: 239.7 kB / 334.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.09035, allocations: 1.405 MB / 336 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.09037, allocations: 20.05 kB / 336.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.09038, allocations: 11.98 kB / 336.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.09039, allocations: 11.95 kB / 336.1 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.09486, allocations: 3.43 MB / 339.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.09487, allocations: 4 kB / 339.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.09565, allocations: 359.8 kB / 339.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.09702, allocations: 0.6818 MB / 340.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.09713, allocations: 51.92 kB / 340.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.1013, allocations: 6.847 MB / 347.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1013, allocations: 11.92 kB / 347.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.1037, allocations: 1.943 MB / 349.4 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.1043, allocations: 330.3 kB / 349.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.1045, allocations: 51.98 kB / 349.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.105, allocations: 83.91 kB / 349.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.1052, allocations: 165.6 kB / 350 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.1053, allocations: 43.98 kB / 350.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006812/0.106, allocations: 0.7696 MB / 350.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.106, allocations: 0 / 350.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001593/0.1076, allocations: 0.7851 MB / 351.6 MB, free: 0.9414 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,77.8%), (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.000463/0.1081, allocations: 223.8 kB / 351.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1179/0.226, allocations: 1.712 MB / 353.6 MB, free: 86.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-05/0.226, allocations: 33.84 kB / 353.6 MB, free: 86.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007822/0.2338, allocations: 1.328 MB / 354.9 MB, free: 85.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/0.2421, allocations: 0.6446 MB / 355.6 MB, free: 85.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.2652, allocations: 6.143 MB / 361.7 MB, free: 83.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008636/0.266, allocations: 0.8626 MB / 362.6 MB, free: 83.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001093/0.2671, allocations: 305.5 kB / 362.9 MB, free: 83.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.2684, allocations: 0.612 MB / 363.5 MB, free: 83.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2684, allocations: 0 / 363.5 MB, free: 83.12 MB / 330.7 MB Notification: Performance of Templates: time 0.04594/0.3143, allocations: 42.26 MB / 405.7 MB, free: 46.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.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: 5.025640178937465]