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.001066/0.001066, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001054/0.001054, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9808/0.9808, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.392e-06/1.392e-06, allocations: 0 / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.934e-05, allocations: 2.312 kB / 251.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008083/0.008102, allocations: 8.638 MB / 260.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005284/0.01339, allocations: 2.848 MB / 263 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.01504, allocations: 43.69 kB / 263 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.01649, allocations: 0.6019 MB / 263.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.01851, allocations: 0.7955 MB / 264.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.01912, allocations: 327.4 kB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.02137, allocations: 2.481 MB / 267.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.0224, allocations: 0.9688 MB / 268.2 MB, free: 6.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.02463, allocations: 1.739 MB / 269.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.02612, allocations: 1.224 MB / 271.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.02649, allocations: 272 kB / 271.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.0271, allocations: 363.8 kB / 271.8 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.02767, allocations: 0.8063 MB / 272.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.02855, allocations: 0.8613 MB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.03043, allocations: 1.994 MB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.03043, allocations: 0 / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03044, allocations: 0 / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.784e-05/0.03047, allocations: 0 / 275.4 MB, free: 15.25 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.003112/0.03359, allocations: 2.599 MB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.03365, allocations: 19.97 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.03438, allocations: 419.3 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.03569, allocations: 1.11 MB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-05/0.03578, allocations: 135.9 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.03597, allocations: 184.3 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.03763, allocations: 1.372 MB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.03766, allocations: 3.938 kB / 281.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.03777, allocations: 72 kB / 281.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.03784, allocations: 91.48 kB / 281.4 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.03865, allocations: 0.5137 MB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.04519, allocations: 5.94 MB / 287.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.04588, allocations: 0.5259 MB / 288.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.04646, allocations: 453.3 kB / 288.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.04659, allocations: 40.98 kB / 288.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.04662, allocations: 46.39 kB / 288.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.096e-06/0.04663, allocations: 0 / 288.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003811/0.05044, allocations: 2.21 MB / 291.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.05048, allocations: 64.41 kB / 291.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.05144, allocations: 1.053 MB / 292.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.0515, allocations: 45.7 kB / 292.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.05205, allocations: 1.022 MB / 293.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/0.05257, allocations: 376.8 kB / 293.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.05281, allocations: 220.4 kB / 293.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.053, allocations: 0.5354 MB / 294.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.0532, allocations: 146.5 kB / 294.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.05371, allocations: 0.565 MB / 295.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.05442, allocations: 0.8077 MB / 295.9 MB, free: 9.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.05443, allocations: 4 kB / 295.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001693/0.05612, allocations: 1.144 MB / 297.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.05614, allocations: 8 kB / 297.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.05616, allocations: 8 kB / 297.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/0.05715, allocations: 491.8 kB / 297.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.05759, allocations: 219.6 kB / 297.8 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.0619, allocations: 5.404 MB / 303.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.06254, allocations: 47.88 kB / 303.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.0626, allocations: 36 kB / 303.3 MB, free: 2.293 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.0005089/0.06311, allocations: 224.3 kB / 303.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.06333, allocations: 167.2 kB / 303.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.06448, allocations: 0.8687 MB / 304.5 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.06449, allocations: 12 kB / 304.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.06449, allocations: 4 kB / 304.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.0645, allocations: 3.984 kB / 304.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.06741, allocations: 2.144 MB / 306.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.06741, allocations: 3.984 kB / 306.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.06783, allocations: 159.8 kB / 306.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.06839, allocations: 258.6 kB / 307.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.06844, allocations: 27.97 kB / 307.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.07157, allocations: 6.032 MB / 313.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.07157, allocations: 0 / 313.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.07318, allocations: 1.249 MB / 314.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/0.07386, allocations: 223 kB / 314.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.07396, allocations: 31.92 kB / 314.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.07427, allocations: 35.98 kB / 314.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.0744, allocations: 84.72 kB / 314.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.07446, allocations: 27.98 kB / 314.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005319/0.07499, allocations: 0.5874 MB / 315.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07499, allocations: 4 kB / 315.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001069/0.07606, allocations: 424 kB / 315.8 MB, free: 5.211 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.0002769/0.07633, allocations: 179 kB / 316 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.0776, allocations: 1.17 MB / 317.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.0776, allocations: 8.125 kB / 317.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.07838, allocations: 0.9263 MB / 318.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.07925, allocations: 339.2 kB / 318.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.08384, allocations: 3.343 MB / 321.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.08427, allocations: 0.5152 MB / 322.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004644/0.08474, allocations: 159.2 kB / 322.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.08529, allocations: 386 kB / 322.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.864e-06/0.08529, allocations: 0 / 322.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of Templates: time 0.03215/0.1174, allocations: 23.55 MB / 346.4 MB, free: 6.43 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.445067283231765]