Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0008858/0.0008858, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009468/0.0009468, allocations: 174.5 kB / 24.92 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9097/0.9097, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.154e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007383/0.007394, allocations: 9.412 MB / 282.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.01266, allocations: 3.801 MB / 286.7 MB, free: 4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006578/0.01332, allocations: 59.62 kB / 286.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.0145, allocations: 0.6791 MB / 287.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.01594, allocations: 0.9626 MB / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.01662, allocations: 475 kB / 288.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09475/0.1114, allocations: 2.766 MB / 291.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.1126, allocations: 1.104 MB / 292.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.1148, allocations: 2.006 MB / 294.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.1164, allocations: 1.34 MB / 296.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.1168, allocations: 295.8 kB / 296.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.1177, allocations: 0.5424 MB / 296.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.1184, allocations: 1.036 MB / 297.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.1197, allocations: 0.9689 MB / 298.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.1224, allocations: 2.468 MB / 301.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1224, allocations: 2.125 kB / 301.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1224, allocations: 0 / 301.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.1225, allocations: 3.844 kB / 301.4 MB, free: 14.69 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003174/0.1256, allocations: 2.954 MB / 304.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1257, allocations: 9.25 kB / 304.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.1264, allocations: 426.6 kB / 304.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1277, allocations: 1.2 MB / 306 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.1277, allocations: 152.1 kB / 306.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.1279, allocations: 205.4 kB / 306.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.1293, allocations: 1.567 MB / 307.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.1294, allocations: 14.73 kB / 307.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1295, allocations: 80.78 kB / 308 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.897e-05/0.1296, allocations: 96.77 kB / 308.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.1304, allocations: 0.5937 MB / 308.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/0.1351, allocations: 4.87 MB / 313.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/0.136, allocations: 0.7263 MB / 314.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.1365, allocations: 477.5 kB / 314.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1366, allocations: 55.5 kB / 314.8 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1366, allocations: 50.19 kB / 314.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.476e-06/0.1366, allocations: 0 / 314.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003953/0.1406, allocations: 2.774 MB / 317.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.1406, allocations: 68.72 kB / 317.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.1414, allocations: 1.408 MB / 319.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.1415, allocations: 49.7 kB / 319.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.1417, allocations: 0.8503 MB / 320 MB, free: 1.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.1419, allocations: 482.1 kB / 320.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.1421, allocations: 222.8 kB / 320.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.1421, allocations: 371.8 kB / 321 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1423, allocations: 170.8 kB / 321.2 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1426, allocations: 415.7 kB / 321.6 MB, free: 64 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.1433, allocations: 0.7165 MB / 322.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1433, allocations: 4 kB / 322.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001414/0.1447, allocations: 1.064 MB / 323.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1447, allocations: 8 kB / 323.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1447, allocations: 8 kB / 323.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.1458, allocations: 0.5229 MB / 323.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1463, allocations: 234.9 kB / 324.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.1502, allocations: 4.624 MB / 328.8 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.1506, allocations: 40.78 kB / 328.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.1507, allocations: 48.02 kB / 328.9 MB, free: 8.766 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003387/0.151, allocations: 186.8 kB / 329 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.1512, allocations: 155.8 kB / 329.2 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.1524, allocations: 1.001 MB / 330.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.1524, allocations: 20 kB / 330.2 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1525, allocations: 4 kB / 330.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.1525, allocations: 7.969 kB / 330.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.1554, allocations: 2.265 MB / 332.5 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1554, allocations: 0 / 332.5 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.1558, allocations: 182.2 kB / 332.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000867/0.1567, allocations: 476.5 kB / 333.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.1568, allocations: 31.97 kB / 333.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/0.16, allocations: 5.377 MB / 338.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.16, allocations: 7.562 kB / 338.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.1616, allocations: 1.336 MB / 339.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.162, allocations: 237.9 kB / 340.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.1621, allocations: 35.64 kB / 340.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1624, allocations: 43.98 kB / 340.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.1626, allocations: 104.7 kB / 340.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.1627, allocations: 27.98 kB / 340.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004997/0.1632, allocations: 0.6757 MB / 341 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 0 / 341 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001024/0.1642, allocations: 0.5116 MB / 341.5 MB, free: 12.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.1652, allocations: 0.534 MB / 342.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.1665, allocations: 1.176 MB / 343.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/0.1665, allocations: 20.5 kB / 343.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.1674, allocations: 0.909 MB / 344.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.1683, allocations: 404.3 kB / 344.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.1727, allocations: 4.047 MB / 348.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.1732, allocations: 0.5777 MB / 349.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.1736, allocations: 197.4 kB / 349.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.1742, allocations: 381.1 kB / 349.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1742, allocations: 0 / 349.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of Templates: time 0.03335/0.2076, allocations: 28.55 MB / 378.3 MB, free: 8.051 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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.8572798701934516]