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.00137/0.00137, allocations: 76.81 kB / 22.28 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.001162/0.001162, allocations: 163.5 kB / 25.69 MB, free: 8.379 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.9577/0.9577, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.713e-06/1.713e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.895e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.007824/0.007853, allocations: 8.693 MB / 260.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.01333, allocations: 2.941 MB / 263.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.01458, allocations: 47.69 kB / 263.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.01588, allocations: 0.6171 MB / 263.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.01781, allocations: 0.7955 MB / 264.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.01838, allocations: 327.5 kB / 265 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.02062, allocations: 2.478 MB / 267.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.0217, allocations: 0.9884 MB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.0239, allocations: 1.727 MB / 270.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.02552, allocations: 1.216 MB / 271.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.02604, allocations: 272 kB / 271.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.02669, allocations: 363.9 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.02728, allocations: 0.8179 MB / 272.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008421/0.02812, allocations: 0.8536 MB / 273.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.02996, allocations: 1.997 MB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.02997, allocations: 0 / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02997, allocations: 0 / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.215e-05/0.03001, allocations: 0 / 275.7 MB, free: 14.95 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.002664/0.03267, allocations: 2.355 MB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.03271, allocations: 11.98 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.03328, allocations: 340.5 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.03434, allocations: 0.8499 MB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.03441, allocations: 140 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.03459, allocations: 184.3 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.03608, allocations: 1.398 MB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.03612, allocations: 7.891 kB / 281 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.03622, allocations: 72 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.03629, allocations: 83.5 kB / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.03707, allocations: 0.5305 MB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005178/0.04224, allocations: 4.756 MB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.04296, allocations: 0.5434 MB / 286.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.04352, allocations: 430.6 kB / 287.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.04365, allocations: 44.91 kB / 287.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.04367, allocations: 43.56 kB / 287.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.04368, allocations: 0 / 287.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003775/0.04745, allocations: 2.21 MB / 289.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.04748, allocations: 60.41 kB / 289.7 MB, free: 500 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.04813, allocations: 0.8788 MB / 290.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.04818, allocations: 45.7 kB / 290.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.0485, allocations: 0.7598 MB / 291.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.04868, allocations: 368.8 kB / 291.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.04889, allocations: 206.8 kB / 292 MB, free: 14.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.04899, allocations: 353.8 kB / 292.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.04918, allocations: 145.4 kB / 292.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.04948, allocations: 432.3 kB / 292.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.05008, allocations: 0.6897 MB / 293.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.05008, allocations: 4 kB / 293.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001237/0.05132, allocations: 0.9393 MB / 294.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.05134, allocations: 12.03 kB / 294.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.05135, allocations: 8 kB / 294.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.05233, allocations: 483.8 kB / 295 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.05285, allocations: 239.7 kB / 295.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.05639, allocations: 4.165 MB / 299.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.05685, allocations: 36.12 kB / 299.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.05691, allocations: 39.98 kB / 299.5 MB, free: 6.238 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.0003771/0.05729, allocations: 180.4 kB / 299.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.05747, allocations: 115.9 kB / 299.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009912/0.05846, allocations: 0.7429 MB / 300.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.05846, allocations: 8 kB / 300.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.05847, allocations: 4 kB / 300.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.05848, allocations: 3.984 kB / 300.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.06082, allocations: 1.845 MB / 302.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.06082, allocations: 224 / 302.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.06127, allocations: 175.8 kB / 302.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005845/0.06185, allocations: 303.1 kB / 302.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.06191, allocations: 23.98 kB / 302.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.06449, allocations: 4.374 MB / 307.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.06449, allocations: 7.938 kB / 307.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.06582, allocations: 1.07 MB / 308.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.06613, allocations: 171.1 kB / 308.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.06622, allocations: 31.98 kB / 308.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.06653, allocations: 31.98 kB / 308.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.06667, allocations: 80.84 kB / 308.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.06671, allocations: 19.98 kB / 308.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004022/0.06711, allocations: 448.5 kB / 309.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06711, allocations: 0 / 309.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001054/0.06817, allocations: 427.9 kB / 309.5 MB, free: 11.75 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.0003025/0.06847, allocations: 164.1 kB / 309.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.06976, allocations: 0.9893 MB / 310.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/0.06979, allocations: 20.62 kB / 310.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.07049, allocations: 0.7397 MB / 311.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.07135, allocations: 325.8 kB / 311.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.07531, allocations: 3.179 MB / 314.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.07568, allocations: 459.7 kB / 315.4 MB, free: 5.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.07615, allocations: 167.1 kB / 315.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.07668, allocations: 337.1 kB / 315.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.07668, allocations: 0 / 315.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of Templates: time 0.02797/0.1046, allocations: 23.5 MB / 339.3 MB, free: 13.71 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 -s gbode -gbm=radauIIA3 -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.3258283869363368]