Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.0009928/0.0009928, allocations: 80.8 kB / 22.29 MB, free: 2.203 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: 167.1 kB / 25.7 MB, free: 8.445 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 1.004/1.004, allocations: 158.6 MB / 187.6 MB, free: 2.789 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.871e-05, allocations: 2.312 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01179/0.01181, allocations: 9.426 MB / 261 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.01641, allocations: 3.112 MB / 264.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008321/0.01724, allocations: 55.62 kB / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.01839, allocations: 0.6325 MB / 264.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.01984, allocations: 0.8186 MB / 265.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.02035, allocations: 383.3 kB / 266 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.02244, allocations: 2.544 MB / 268.6 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.0233, allocations: 1.017 MB / 269.6 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.02473, allocations: 1.754 MB / 271.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.02595, allocations: 1.146 MB / 272.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.02616, allocations: 276 kB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.02657, allocations: 355.8 kB / 273.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.027, allocations: 0.779 MB / 273.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.02757, allocations: 0.8692 MB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.02906, allocations: 1.982 MB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.02906, allocations: 0 / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02906, allocations: 4 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.02908, allocations: 3.938 kB / 276.7 MB, free: 13.91 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002493/0.03157, allocations: 2.379 MB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.03161, allocations: 11.98 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.03218, allocations: 360.5 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.03319, allocations: 0.8452 MB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.03327, allocations: 152.1 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.03345, allocations: 188.3 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.03483, allocations: 1.454 MB / 282.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.03487, allocations: 15.88 kB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.03497, allocations: 79.98 kB / 282.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.03504, allocations: 83.69 kB / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.03582, allocations: 0.5522 MB / 282.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.04088, allocations: 5.215 MB / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.04146, allocations: 0.5597 MB / 288.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.04208, allocations: 0.5063 MB / 289.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.04218, allocations: 40.98 kB / 289.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.04222, allocations: 47.5 kB / 289.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.234e-06/0.04222, allocations: 0 / 289.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004082/0.0463, allocations: 2.582 MB / 291.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.04633, allocations: 64.41 kB / 291.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.04692, allocations: 0.8822 MB / 292.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.04697, allocations: 49.7 kB / 292.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.04741, allocations: 0.7906 MB / 293.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.04759, allocations: 408.4 kB / 294 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.04782, allocations: 231.4 kB / 294.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.0479, allocations: 361.8 kB / 294.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.04811, allocations: 166.8 kB / 294.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.04846, allocations: 0.5124 MB / 295.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.04911, allocations: 0.8111 MB / 296 MB, free: 9.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.04912, allocations: 4 kB / 296 MB, free: 9.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001135/0.05025, allocations: 0.9737 MB / 297 MB, free: 8.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.05027, allocations: 8 kB / 297 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.05028, allocations: 12 kB / 297 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.05084, allocations: 279.6 kB / 297.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.05145, allocations: 303.5 kB / 297.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.0544, allocations: 4.805 MB / 302.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.05476, allocations: 43.89 kB / 302.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.05482, allocations: 47.98 kB / 302.5 MB, free: 3.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.05511, allocations: 204.2 kB / 302.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.05526, allocations: 119.9 kB / 302.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.05627, allocations: 0.8283 MB / 303.6 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.05628, allocations: 11.98 kB / 303.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.05629, allocations: 8 kB / 303.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.05629, allocations: 3.984 kB / 303.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.05862, allocations: 1.979 MB / 305.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.05863, allocations: 0 / 305.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.05909, allocations: 191.9 kB / 305.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.05977, allocations: 364.6 kB / 306.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.05982, allocations: 31.98 kB / 306.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.06322, allocations: 6.001 MB / 312.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.06322, allocations: 7.938 kB / 312.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.06448, allocations: 1.203 MB / 313.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.06473, allocations: 175 kB / 313.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.06483, allocations: 35.92 kB / 313.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.06512, allocations: 39.98 kB / 313.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.06525, allocations: 88.83 kB / 313.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.06529, allocations: 23.92 kB / 313.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005183/0.06581, allocations: 436.4 kB / 314.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06581, allocations: 0 / 314.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008829/0.06669, allocations: 435.9 kB / 314.6 MB, free: 6.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,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.000224/0.06692, allocations: 164.1 kB / 314.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.068, allocations: 1.121 MB / 315.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.06802, allocations: 12.5 kB / 315.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.06876, allocations: 0.9344 MB / 316.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.06956, allocations: 362.4 kB / 317.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.07302, allocations: 3.26 MB / 320.5 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.07338, allocations: 448 kB / 320.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000406/0.07379, allocations: 171.9 kB / 321.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.07448, allocations: 365.1 kB / 321.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.07448, allocations: 0 / 321.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.02687/0.1014, allocations: 23.71 MB / 345.1 MB, free: 7.527 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.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.4202073458582163]