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.0009003/0.0009003, allocations: 84.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.001034/0.001034, allocations: 168.6 kB / 24.91 MB, free: 8.766 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.9069/0.9069, allocations: 177 MB / 205.2 MB, free: 5.035 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 2.665e-06/2.665e-06, allocations: 4 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.968e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007145/0.007164, allocations: 9.412 MB / 282.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.01101, allocations: 3.816 MB / 286.7 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.01143, allocations: 59.62 kB / 286.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009727/0.0124, allocations: 0.6713 MB / 287.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.01349, allocations: 0.9587 MB / 288.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.01399, allocations: 486.9 kB / 288.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09379/0.1078, allocations: 2.76 MB / 291.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.109, allocations: 1.106 MB / 292.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.1112, allocations: 2.005 MB / 294.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.1128, allocations: 1.34 MB / 296 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005203/0.1134, allocations: 297.4 kB / 296.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.1142, allocations: 0.5447 MB / 296.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.1149, allocations: 1.035 MB / 297.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.1158, allocations: 0.976 MB / 298.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1178, allocations: 2.471 MB / 301.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1178, allocations: 0 / 301.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1178, allocations: 1.375 kB / 301.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.1178, allocations: 0 / 301.3 MB, free: 14.4 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.002659/0.1205, allocations: 2.964 MB / 304.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1205, allocations: 14.48 kB / 304.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/0.1211, allocations: 417.2 kB / 304.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1223, allocations: 1.206 MB / 305.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.1224, allocations: 154.8 kB / 306.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.1226, allocations: 208.2 kB / 306.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.1244, allocations: 1.57 MB / 307.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.1244, allocations: 3.953 kB / 307.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1245, allocations: 89.75 kB / 308 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.1246, allocations: 97.11 kB / 308 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1257, allocations: 0.6041 MB / 308.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00658/0.1323, allocations: 4.873 MB / 313.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1335, allocations: 0.7078 MB / 314.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.1343, allocations: 486.8 kB / 314.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.1344, allocations: 48.98 kB / 314.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1344, allocations: 47.56 kB / 314.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.817e-06/0.1344, allocations: 0 / 314.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005898/0.1403, allocations: 2.774 MB / 317.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1404, allocations: 64.72 kB / 317.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1415, allocations: 1.422 MB / 319.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.1415, allocations: 45.7 kB / 319.1 MB, free: 2.055 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1417, allocations: 0.8669 MB / 320 MB, free: 1.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1419, allocations: 471.2 kB / 320.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.1421, allocations: 230.2 kB / 320.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.1421, allocations: 364.6 kB / 321 MB, free: 296 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1423, allocations: 174.8 kB / 321.2 MB, free: 120 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.1427, allocations: 424.2 kB / 321.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.1433, allocations: 0.7062 MB / 322.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1433, allocations: 0 / 322.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001363/0.1447, allocations: 1.061 MB / 323.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1447, allocations: 8.625 kB / 323.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1447, allocations: 8 kB / 323.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.1459, allocations: 0.5286 MB / 323.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.1464, allocations: 242 kB / 324.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.15, allocations: 4.603 MB / 328.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.1504, allocations: 55.95 kB / 328.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.1505, allocations: 35.98 kB / 328.8 MB, free: 8.367 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.0003718/0.1509, allocations: 182.4 kB / 329 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.1511, allocations: 159.8 kB / 329.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1522, allocations: 1 MB / 330.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.1523, allocations: 16 kB / 330.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1523, allocations: 4 kB / 330.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1523, allocations: 12.78 kB / 330.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.1552, allocations: 2.266 MB / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.1552, allocations: 0 / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.1557, allocations: 182.6 kB / 332.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008456/0.1565, allocations: 479.9 kB / 333.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.1566, allocations: 39.11 kB / 333.2 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.1597, allocations: 5.362 MB / 338.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1597, allocations: 3.984 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.1614, allocations: 1.353 MB / 339.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.1617, allocations: 238.6 kB / 340.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1618, allocations: 27.98 kB / 340.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.1622, allocations: 47.97 kB / 340.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.1623, allocations: 108.2 kB / 340.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.1624, allocations: 27.98 kB / 340.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004881/0.1629, allocations: 0.6822 MB / 341 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1629, allocations: 0 / 341 MB, free: 12.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001009/0.1639, allocations: 0.5038 MB / 341.5 MB, free: 11.77 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.001019/0.1649, allocations: 0.5255 MB / 342 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.1661, allocations: 1.176 MB / 343.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/0.1661, allocations: 20.5 kB / 343.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007888/0.1669, allocations: 0.9092 MB / 344.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.1678, allocations: 390.5 kB / 344.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.1721, allocations: 4.047 MB / 348.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1726, allocations: 0.5739 MB / 349.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000436/0.173, allocations: 209.3 kB / 349.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.1736, allocations: 381 kB / 349.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1736, allocations: 0 / 349.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of Templates: time 0.03245/0.206, allocations: 28.57 MB / 378.3 MB, free: 7.605 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 -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.761138967704028]