Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 85.17 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9151/0.9151, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.361e-05, allocations: 6.25 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.005951/0.005964, allocations: 7.864 MB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.009352, allocations: 2.656 MB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.009735, allocations: 27.88 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009188/0.01065, allocations: 0.5324 MB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.0113, allocations: 0.5194 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.01159, allocations: 247.7 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.01247, allocations: 1.54 MB / 281.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.01285, allocations: 391.2 kB / 282.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.01344, allocations: 0.8612 MB / 283.1 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.01383, allocations: 474.6 kB / 283.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01393, allocations: 136 kB / 283.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01411, allocations: 172 kB / 283.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.01425, allocations: 282.9 kB / 284.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.01453, allocations: 466.9 kB / 284.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.01545, allocations: 0.9339 MB / 285.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01545, allocations: 0 / 285.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01546, allocations: 4 kB / 285.5 MB, free: 4.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01546, allocations: 0 / 285.5 MB, free: 4.84 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001154/0.01662, allocations: 1.359 MB / 286.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.01664, allocations: 8.031 kB / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.017, allocations: 232.7 kB / 287.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.01756, allocations: 0.5332 MB / 287.7 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.01759, allocations: 73.94 kB / 287.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.01768, allocations: 100 kB / 287.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.01825, allocations: 0.7575 MB / 288.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.01827, allocations: 15.88 kB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.01831, allocations: 44 kB / 288.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01833, allocations: 24 kB / 288.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.0186, allocations: 241.8 kB / 288.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0961/0.1147, allocations: 2.932 MB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.115, allocations: 235.1 kB / 292.1 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.1153, allocations: 166.7 kB / 292.2 MB, free: 26.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1153, allocations: 11.27 kB / 292.2 MB, free: 26.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1153, allocations: 41.05 kB / 292.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.833e-06/0.1153, allocations: 0 / 292.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001192/0.1165, allocations: 0.7465 MB / 293 MB, free: 26.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.1165, allocations: 88.38 kB / 293.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.117, allocations: 0.6532 MB / 293.8 MB, free: 26.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.117, allocations: 37.64 kB / 293.8 MB, free: 26.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1172, allocations: 0.4957 MB / 294.3 MB, free: 26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.1173, allocations: 166.7 kB / 294.5 MB, free: 25.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1174, allocations: 130 kB / 294.6 MB, free: 25.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.1175, allocations: 393.8 kB / 295 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1175, allocations: 59.61 kB / 295 MB, free: 25.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1177, allocations: 392.3 kB / 295.4 MB, free: 25.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.118, allocations: 493.6 kB / 295.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.118, allocations: 4.688 kB / 295.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004896/0.1185, allocations: 497.2 kB / 296.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1185, allocations: 9.5 kB / 296.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1185, allocations: 10.12 kB / 296.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.1187, allocations: 70.36 kB / 296.5 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.1189, allocations: 149.9 kB / 296.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.1198, allocations: 2.597 MB / 299.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1201, allocations: 34.39 kB / 299.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.1201, allocations: 32.28 kB / 299.3 MB, free: 22.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.1203, allocations: 166.6 kB / 299.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.1203, allocations: 59.62 kB / 299.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.1207, allocations: 295.2 kB / 299.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1207, allocations: 8.516 kB / 299.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1207, allocations: 0 / 299.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1207, allocations: 3.562 kB / 299.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009394/0.1216, allocations: 0.7672 MB / 300.6 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1216, allocations: 2.656 kB / 300.6 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1218, allocations: 68.78 kB / 300.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.1219, allocations: 64.7 kB / 300.7 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1219, allocations: 9.219 kB / 300.7 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007662/0.1227, allocations: 2.588 MB / 303.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1227, allocations: 6.75 kB / 303.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1231, allocations: 475.9 kB / 303.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1232, allocations: 73 kB / 303.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1233, allocations: 13.67 kB / 303.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1234, allocations: 20.61 kB / 303.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.1235, allocations: 47.19 kB / 303.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1235, allocations: 11.75 kB / 303.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.1238, allocations: 316.1 kB / 304.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1238, allocations: 0 / 304.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006001/0.1244, allocations: 202.6 kB / 304.5 MB, free: 19.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * 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,5,100.0%), (1,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.0001568/0.1246, allocations: 105.9 kB / 304.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.1251, allocations: 0.5278 MB / 305.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.1251, allocations: 10.69 kB / 305.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.1253, allocations: 375.2 kB / 305.5 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1259, allocations: 206.2 kB / 305.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1277, allocations: 1.554 MB / 307.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.1279, allocations: 168 kB / 307.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.1281, allocations: 96.55 kB / 307.5 MB, free: 17.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.1284, allocations: 233.5 kB / 307.7 MB, free: 17.53 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1284, allocations: 0 / 307.7 MB, free: 17.53 MB / 266.7 MB Notification: Performance of Templates: time 0.0126/0.141, allocations: 10.85 MB / 318.5 MB, free: 10.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.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: 2.9929620097391307]