Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009092/0.0009092, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9775/0.9775, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.712e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.009195/0.009222, allocations: 9.458 MB / 282.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.01523, allocations: 3.804 MB / 286.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.01646, allocations: 59.62 kB / 286.8 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.0179, allocations: 0.6869 MB / 287.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.02049, allocations: 0.9509 MB / 288.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.02163, allocations: 474.9 kB / 288.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1278/0.1494, allocations: 2.769 MB / 291.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.1513, allocations: 1.104 MB / 292.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.1549, allocations: 2.004 MB / 294.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.1574, allocations: 1.336 MB / 296.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008394/0.1583, allocations: 295.6 kB / 296.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1594, allocations: 0.5548 MB / 296.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000861/0.1603, allocations: 1.033 MB / 298 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.162, allocations: 0.9719 MB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.1655, allocations: 2.476 MB / 301.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1655, allocations: 0.625 kB / 301.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1655, allocations: 0 / 301.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001679/0.1657, allocations: 0.7812 kB / 301.4 MB, free: 14.6 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.007318/0.173, allocations: 2.966 MB / 304.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.1731, allocations: 15.36 kB / 304.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.1743, allocations: 422.7 kB / 304.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.1766, allocations: 1.203 MB / 306 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.432e-05/0.1767, allocations: 152.2 kB / 306.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.177, allocations: 213.4 kB / 306.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.1794, allocations: 1.564 MB / 307.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.1795, allocations: 3.953 kB / 307.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.1796, allocations: 83.88 kB / 308 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1797, allocations: 93.61 kB / 308.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.181, allocations: 0.5963 MB / 308.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007525/0.1885, allocations: 4.877 MB / 313.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1897, allocations: 0.7254 MB / 314.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.1904, allocations: 479.7 kB / 314.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.1906, allocations: 52.97 kB / 314.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1906, allocations: 43.56 kB / 314.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.549e-06/0.1906, allocations: 0 / 314.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.006154/0.1968, allocations: 2.767 MB / 317.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1968, allocations: 68.7 kB / 317.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.1981, allocations: 1.424 MB / 319.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.1982, allocations: 57.7 kB / 319.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.1985, allocations: 0.8543 MB / 320.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.1987, allocations: 472.7 kB / 320.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.199, allocations: 228.9 kB / 320.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.199, allocations: 370 kB / 321.1 MB, free: 320 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1993, allocations: 166.8 kB / 321.3 MB, free: 152 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.1997, allocations: 422.3 kB / 321.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.2006, allocations: 0.7121 MB / 322.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.2006, allocations: 4 kB / 322.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001957/0.2026, allocations: 1.066 MB / 323.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2026, allocations: 8 kB / 323.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2026, allocations: 4 kB / 323.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.2041, allocations: 0.5218 MB / 324 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.2049, allocations: 265.4 kB / 324.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.2103, allocations: 4.636 MB / 328.9 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.2114, allocations: 43.98 kB / 328.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.2115, allocations: 39.98 kB / 329 MB, free: 8.348 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.0007172/0.2122, allocations: 189.8 kB / 329.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.2125, allocations: 155.8 kB / 329.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.2143, allocations: 1 MB / 330.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.2143, allocations: 16 kB / 330.3 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.2143, allocations: 4 kB / 330.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.2143, allocations: 7.984 kB / 330.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.2184, allocations: 2.265 MB / 332.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2184, allocations: 0 / 332.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.2191, allocations: 207.1 kB / 332.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.2203, allocations: 489 kB / 333.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/0.2204, allocations: 27.98 kB / 333.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004685/0.2251, allocations: 5.393 MB / 338.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.2251, allocations: 0 / 338.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.2277, allocations: 1.352 MB / 340 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/0.2284, allocations: 242.3 kB / 340.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.2285, allocations: 31.98 kB / 340.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.2291, allocations: 51.91 kB / 340.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.2293, allocations: 104.1 kB / 340.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.2294, allocations: 27.98 kB / 340.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008565/0.2303, allocations: 0.6821 MB / 341.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2303, allocations: 4 kB / 341.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001689/0.2319, allocations: 0.4999 MB / 341.7 MB, free: 11.71 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.001374/0.2333, allocations: 0.5233 MB / 342.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2353, allocations: 1.171 MB / 343.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.684e-05/0.2354, allocations: 20.5 kB / 343.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2366, allocations: 0.9068 MB / 344.3 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.2382, allocations: 398.5 kB / 344.7 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.2441, allocations: 4.05 MB / 348.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.2447, allocations: 0.5739 MB / 349.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007555/0.2454, allocations: 213.4 kB / 349.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.2461, allocations: 385 kB / 349.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2461, allocations: 0 / 349.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of Templates: time 0.03831/0.2844, allocations: 28.6 MB / 378.5 MB, free: 7.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.961149366106838]