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.002783/0.002783, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.003594/0.003594, allocations: 164.5 kB / 25.03 MB, free: 8.41 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.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.014e-06/2.014e-06, allocations: 0 / 250.4 MB, free: 7.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.399e-05, allocations: 2.312 kB / 250.4 MB, free: 7.691 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01454/0.01457, allocations: 9.52 MB / 259.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.02209, allocations: 3.012 MB / 262.9 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.0236, allocations: 51.69 kB / 263 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.02565, allocations: 0.6208 MB / 263.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.02852, allocations: 0.8186 MB / 264.4 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02954, allocations: 383.3 kB / 264.8 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.03349, allocations: 2.544 MB / 267.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.03528, allocations: 0.9894 MB / 268.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.03835, allocations: 1.622 MB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.04079, allocations: 1.196 MB / 271.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.04137, allocations: 280 kB / 271.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.04225, allocations: 375.8 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.04331, allocations: 0.8141 MB / 272.6 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.04479, allocations: 0.8848 MB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.05011, allocations: 3.716 MB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.05012, allocations: 4 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.05012, allocations: 0 / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.786e-05/0.05021, allocations: 0 / 277.2 MB, free: 12.73 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.006449/0.05666, allocations: 2.897 MB / 280.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.05671, allocations: 15.98 kB / 280.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.05776, allocations: 435.3 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.06058, allocations: 1.183 MB / 281.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.06073, allocations: 140.2 kB / 281.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/0.0611, allocations: 200.3 kB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/0.06604, allocations: 2.34 MB / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.06611, allocations: 11.94 kB / 284.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.06631, allocations: 83.97 kB / 284.5 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.06644, allocations: 91.62 kB / 284.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.06975, allocations: 1.47 MB / 286 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.08722, allocations: 9.05 MB / 295.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.08882, allocations: 0.719 MB / 295.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.09061, allocations: 0.6769 MB / 296.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.09086, allocations: 52.95 kB / 296.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.09091, allocations: 50.33 kB / 296.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 3.055e-06/0.09091, allocations: 0 / 296.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.01076/0.1017, allocations: 3.556 MB / 300.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.1017, allocations: 64.41 kB / 300.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.1042, allocations: 1.432 MB / 301.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.1043, allocations: 53.64 kB / 301.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.1055, allocations: 1.069 MB / 302.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.106, allocations: 452.5 kB / 303.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005309/0.1065, allocations: 297.2 kB / 303.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004046/0.1069, allocations: 0.5784 MB / 304.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.1079, allocations: 339.8 kB / 304.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.1093, allocations: 0.8822 MB / 305.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.1116, allocations: 1.351 MB / 306.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.1116, allocations: 4 kB / 306.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003834/0.1154, allocations: 1.557 MB / 308.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.1155, allocations: 8 kB / 308.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.1155, allocations: 12 kB / 308.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.1169, allocations: 330.4 kB / 308.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.1181, allocations: 295.6 kB / 308.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/0.1265, allocations: 6.986 MB / 315.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.1278, allocations: 87.91 kB / 315.9 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.128, allocations: 52 kB / 315.9 MB, free: 4.398 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.001108/0.1291, allocations: 0.5196 MB / 316.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.1295, allocations: 175.1 kB / 316.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.1327, allocations: 1.224 MB / 317.9 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.1327, allocations: 12 kB / 317.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.1327, allocations: 4 kB / 317.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.1327, allocations: 7.969 kB / 317.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008141/0.1409, allocations: 3.359 MB / 321.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.1409, allocations: 4.281 kB / 321.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008692/0.1418, allocations: 195.7 kB / 321.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.1433, allocations: 381.9 kB / 321.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.1434, allocations: 27.98 kB / 321.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.1538, allocations: 8.822 MB / 330.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.1538, allocations: 7.938 kB / 330.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/0.1583, allocations: 1.814 MB / 332.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.1594, allocations: 259 kB / 332.7 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.1597, allocations: 28 kB / 332.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.1605, allocations: 67.92 kB / 332.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.1607, allocations: 92.77 kB / 332.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/0.1608, allocations: 31.98 kB / 332.9 MB, free: 2.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00154/0.1624, allocations: 0.8374 MB / 333.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1624, allocations: 0 / 333.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001871/0.1642, allocations: 439.9 kB / 334.2 MB, free: 1.395 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005106/0.1647, allocations: 190.9 kB / 334.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.1684, allocations: 1.713 MB / 336.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.1684, allocations: 4 kB / 336.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.1709, allocations: 1.397 MB / 337.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.1728, allocations: 382.2 kB / 337.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/0.1801, allocations: 3.614 MB / 341.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.1815, allocations: 1.013 MB / 342.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009483/0.1825, allocations: 251.8 kB / 342.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.1828, allocations: 92.48 kB / 342.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1828, allocations: 0 / 342.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of Templates: time 0.1569/0.3397, allocations: 22.89 MB / 365.7 MB, free: 90.53 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.610464264056645]