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.00133/0.00133, 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.000991/0.000991, allocations: 162.5 kB / 25.6 MB, free: 8.602 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.9782/0.9782, allocations: 158.6 MB / 187.5 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_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.693e-06/1.693e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.557e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.008309/0.008325, allocations: 9.367 MB / 260.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.01238, allocations: 3.012 MB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.01295, allocations: 51.62 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.01402, allocations: 0.6289 MB / 264.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.01539, allocations: 0.8147 MB / 265.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.0159, allocations: 387.3 kB / 265.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.01836, allocations: 2.544 MB / 268.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000992/0.01935, allocations: 0.9855 MB / 269.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.02135, allocations: 1.778 MB / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.02244, allocations: 1.15 MB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.02274, allocations: 268 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.0232, allocations: 363.8 kB / 272.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004826/0.02368, allocations: 0.7829 MB / 273.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006814/0.02437, allocations: 0.8692 MB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.02626, allocations: 1.982 MB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.02626, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.02627, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.02629, allocations: 0 / 276.4 MB, free: 14.13 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.002447/0.02874, allocations: 2.615 MB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.02878, allocations: 11.98 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.02941, allocations: 443.3 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.03058, allocations: 1.09 MB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.03066, allocations: 144.1 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.03083, allocations: 196.3 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.03241, allocations: 1.43 MB / 282.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-05/0.03246, allocations: 15.88 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.03262, allocations: 80 kB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.03273, allocations: 87.69 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.03398, allocations: 0.5625 MB / 283.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008118/0.04209, allocations: 6.432 MB / 289.5 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.04271, allocations: 0.5578 MB / 290.1 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.04342, allocations: 0.5363 MB / 290.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.04354, allocations: 44.97 kB / 290.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.04356, allocations: 50.39 kB / 290.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.124e-06/0.04357, allocations: 0 / 290.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.003866/0.04743, allocations: 2.578 MB / 293.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.04747, allocations: 64.39 kB / 293.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.04821, allocations: 1.033 MB / 294.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.04827, allocations: 49.7 kB / 294.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.04873, allocations: 1.026 MB / 295.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.04894, allocations: 416.5 kB / 295.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.04919, allocations: 261 kB / 296.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.04935, allocations: 0.5432 MB / 296.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.04956, allocations: 167.9 kB / 296.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.05004, allocations: 0.6828 MB / 297.5 MB, free: 8.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.05082, allocations: 0.9607 MB / 298.5 MB, free: 7.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.05082, allocations: 4 kB / 298.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001326/0.05215, allocations: 1.194 MB / 299.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.05216, allocations: 11.94 kB / 299.7 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.05217, allocations: 12 kB / 299.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.05272, allocations: 294.4 kB / 300 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.05323, allocations: 271.5 kB / 300.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.0567, allocations: 6.535 MB / 306.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.05707, allocations: 47.94 kB / 306.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.05712, allocations: 44 kB / 306.9 MB, free: 14.35 MB / 298.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.0002888/0.05741, allocations: 244.2 kB / 307.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.05758, allocations: 175.1 kB / 307.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.05873, allocations: 0.9854 MB / 308.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.05873, allocations: 8 kB / 308.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.05874, allocations: 8 kB / 308.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.05875, allocations: 7.969 kB / 308.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.06132, allocations: 2.257 MB / 310.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.06133, allocations: 4 kB / 310.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.06175, allocations: 167.8 kB / 310.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/0.0624, allocations: 335.7 kB / 311 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.06244, allocations: 31.97 kB / 311.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.06634, allocations: 8.278 MB / 319.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.06635, allocations: 3.938 kB / 319.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.06781, allocations: 1.404 MB / 320.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.06809, allocations: 227 kB / 321 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.06818, allocations: 27.98 kB / 321 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.06848, allocations: 35.98 kB / 321 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.0686, allocations: 96.7 kB / 321.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.06864, allocations: 23.98 kB / 321.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.06906, allocations: 0.5794 MB / 321.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06906, allocations: 0 / 321.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008679/0.06993, allocations: 427.9 kB / 322.2 MB, free: 14.37 MB / 314.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.0002534/0.07018, allocations: 179 kB / 322.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.07142, allocations: 1.366 MB / 323.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.07142, allocations: 4.125 kB / 323.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.07228, allocations: 1.189 MB / 324.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.07317, allocations: 371.7 kB / 325.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.07673, allocations: 3.442 MB / 328.7 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.0771, allocations: 492 kB / 329.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.07745, allocations: 175.9 kB / 329.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.078, allocations: 414 kB / 329.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.078, allocations: 0 / 329.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of Templates: time 0.1397/0.2177, allocations: 23.6 MB / 353.4 MB, free: 96.58 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 -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.46571162622422]