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.001362/0.001362, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001468/0.001468, allocations: 168 kB / 25.33 MB, free: 9.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 0.854/0.854, allocations: 158.6 MB / 187.2 MB, free: 2.555 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 1.273e-06/1.273e-06, allocations: 0 / 251.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.66e-05, allocations: 2.312 kB / 251.1 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01855/0.01857, allocations: 9.612 MB / 260.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.02645, allocations: 3.023 MB / 263.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008236/0.02728, allocations: 47.69 kB / 263.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.02876, allocations: 0.6169 MB / 264.4 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.03048, allocations: 0.838 MB / 265.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.03114, allocations: 375.4 kB / 265.6 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.03351, allocations: 2.555 MB / 268.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.03493, allocations: 0.9855 MB / 269.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.03721, allocations: 1.766 MB / 270.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.0387, allocations: 1.142 MB / 272 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.0391, allocations: 272 kB / 272.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.03972, allocations: 371.7 kB / 272.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.0404, allocations: 0.7751 MB / 273.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009747/0.04138, allocations: 0.8653 MB / 274.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.04375, allocations: 1.986 MB / 276.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.04376, allocations: 0 / 276.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04376, allocations: 0 / 276.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.045e-05/0.04381, allocations: 0 / 276.3 MB, free: 10.32 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.00402/0.04783, allocations: 2.662 MB / 278.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.04787, allocations: 15.98 kB / 278.9 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009006/0.04877, allocations: 439.2 kB / 279.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.05063, allocations: 1.16 MB / 280.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.05075, allocations: 144.2 kB / 280.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.05104, allocations: 196.3 kB / 280.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.05388, allocations: 1.559 MB / 282.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.05394, allocations: 15.83 kB / 282.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.0541, allocations: 76 kB / 282.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.05421, allocations: 87.69 kB / 282.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.05614, allocations: 0.7046 MB / 283.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008752/0.06489, allocations: 6.5 MB / 289.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.06607, allocations: 0.6194 MB / 290.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.06733, allocations: 0.5881 MB / 291 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.06755, allocations: 56.95 kB / 291.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.06759, allocations: 42.39 kB / 291.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 3.747e-06/0.0676, allocations: 0 / 291.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.007459/0.07505, allocations: 3.189 MB / 294.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.0751, allocations: 64.41 kB / 294.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.07651, allocations: 1.065 MB / 295.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.07658, allocations: 41.7 kB / 295.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/0.07731, allocations: 1.018 MB / 296.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.07763, allocations: 412.6 kB / 296.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.078, allocations: 253.2 kB / 297.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.07822, allocations: 0.5394 MB / 297.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.07874, allocations: 227.8 kB / 297.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.07959, allocations: 0.726 MB / 298.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.08084, allocations: 1.055 MB / 299.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.08084, allocations: 0 / 299.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00175/0.08259, allocations: 1.319 MB / 301 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.08262, allocations: 12 kB / 301 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.08264, allocations: 11.98 kB / 301 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/0.08334, allocations: 298.4 kB / 301.3 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1111/0.1945, allocations: 290.1 kB / 301.6 MB, free: 49.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.1994, allocations: 6.724 MB / 308.3 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.2006, allocations: 75.3 kB / 308.4 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.2007, allocations: 56.69 kB / 308.5 MB, free: 44.32 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.0006147/0.2014, allocations: 236.3 kB / 308.7 MB, free: 44.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.2017, allocations: 180.7 kB / 308.9 MB, free: 44.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.204, allocations: 1.065 MB / 309.9 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.204, allocations: 15.5 kB / 309.9 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.204, allocations: 4.891 kB / 309.9 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.204, allocations: 8.5 kB / 310 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005492/0.2095, allocations: 2.709 MB / 312.7 MB, free: 43.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2095, allocations: 2.438 kB / 312.7 MB, free: 43.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/0.2102, allocations: 173.5 kB / 312.8 MB, free: 43.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.2115, allocations: 347 kB / 313.2 MB, free: 43.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.2116, allocations: 29.14 kB / 313.2 MB, free: 43.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.2169, allocations: 8.483 MB / 321.7 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2169, allocations: 10.06 kB / 321.7 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.2197, allocations: 1.532 MB / 323.2 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006674/0.2204, allocations: 248.4 kB / 323.5 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.2206, allocations: 25.34 kB / 323.5 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.2212, allocations: 57.83 kB / 323.5 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.2214, allocations: 102.1 kB / 323.6 MB, free: 35.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.2215, allocations: 30.41 kB / 323.7 MB, free: 35.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.2225, allocations: 0.6267 MB / 324.3 MB, free: 35.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2225, allocations: 0 / 324.3 MB, free: 35.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001757/0.2243, allocations: 431.5 kB / 324.7 MB, free: 35.27 MB / 282.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.0003805/0.2247, allocations: 181.8 kB / 324.9 MB, free: 35.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.227, allocations: 1.476 MB / 326.4 MB, free: 34.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.227, allocations: 0 / 326.4 MB, free: 34.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.2284, allocations: 1.275 MB / 327.7 MB, free: 33.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.23, allocations: 362 kB / 328 MB, free: 33.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.2372, allocations: 3.493 MB / 331.5 MB, free: 31.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.2378, allocations: 499.4 kB / 332 MB, free: 31.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009154/0.2387, allocations: 259 kB / 332.2 MB, free: 31.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.239, allocations: 94.95 kB / 332.3 MB, free: 31.32 MB / 282.7 MB Notification: Performance of SimCode: time 2.194e-06/0.239, allocations: 0 / 332.3 MB, free: 31.32 MB / 282.7 MB Notification: Performance of Templates: time 0.03426/0.2733, allocations: 23.18 MB / 355.5 MB, free: 8.805 MB / 282.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 -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.5139907505363226]