Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001279/0.001279, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008441/0.0008441, allocations: 141.2 kB / 24.89 MB, free: 9.203 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.872/0.872, allocations: 173.4 MB / 201.5 MB, free: 9.188 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.313e-05, allocations: 2.312 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006218/0.006231, allocations: 7.766 MB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.008946, allocations: 2.61 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.00929, allocations: 27.88 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.01012, allocations: 0.5285 MB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.01067, allocations: 0.5116 MB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.01094, allocations: 239.7 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.01181, allocations: 1.493 MB / 281.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.0122, allocations: 399.2 kB / 282 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.01279, allocations: 0.834 MB / 282.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.01338, allocations: 466.6 kB / 283.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.01347, allocations: 136 kB / 283.5 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.01365, allocations: 164 kB / 283.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.01378, allocations: 278.9 kB / 283.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.01406, allocations: 458.9 kB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.01475, allocations: 0.9028 MB / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.01475, allocations: 0 / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01475, allocations: 0 / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.01476, allocations: 0 / 285.2 MB, free: 5.312 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001085/0.01584, allocations: 1.343 MB / 286.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.339e-05/0.01586, allocations: 12.92 kB / 286.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.01615, allocations: 204.8 kB / 286.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.01667, allocations: 0.5293 MB / 287.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.01671, allocations: 70 kB / 287.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.01678, allocations: 96 kB / 287.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.01733, allocations: 0.7324 MB / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.01735, allocations: 3.953 kB / 288.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.01739, allocations: 48 kB / 288.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.0174, allocations: 24 kB / 288.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.01766, allocations: 241.7 kB / 288.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.1181, allocations: 2.941 MB / 291.5 MB, free: 27.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1184, allocations: 168.1 kB / 291.6 MB, free: 27.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.1185, allocations: 72.11 kB / 291.7 MB, free: 27.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1185, allocations: 5.344 kB / 291.7 MB, free: 27.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1185, allocations: 35.81 kB / 291.7 MB, free: 27.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/0.1185, allocations: 0.5 kB / 291.7 MB, free: 27.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001194/0.1197, allocations: 0.6184 MB / 292.4 MB, free: 27.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.1197, allocations: 81.72 kB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.1203, allocations: 0.6565 MB / 293.1 MB, free: 26.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1203, allocations: 32.23 kB / 293.1 MB, free: 26.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1205, allocations: 0.5121 MB / 293.6 MB, free: 26.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.1206, allocations: 135 kB / 293.8 MB, free: 26.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1207, allocations: 128.7 kB / 293.9 MB, free: 26.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.1208, allocations: 389.6 kB / 294.3 MB, free: 26.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.1209, allocations: 52.14 kB / 294.3 MB, free: 26.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.1211, allocations: 395.6 kB / 294.7 MB, free: 25.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1214, allocations: 493.3 kB / 295.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1214, allocations: 3.031 kB / 295.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000577/0.122, allocations: 445.5 kB / 295.6 MB, free: 25.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.122, allocations: 10.55 kB / 295.7 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1221, allocations: 9.906 kB / 295.7 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.1222, allocations: 35.69 kB / 295.7 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.1225, allocations: 155 kB / 295.8 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004954/0.123, allocations: 1.168 MB / 297 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.1234, allocations: 38.48 kB / 297.1 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.1234, allocations: 30.45 kB / 297.1 MB, free: 24.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.1235, allocations: 156.9 kB / 297.2 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.1236, allocations: 59.62 kB / 297.3 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1239, allocations: 215.4 kB / 297.5 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1239, allocations: 7.094 kB / 297.5 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1239, allocations: 2.859 kB / 297.5 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1239, allocations: 1.594 kB / 297.5 MB, free: 24.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000884/0.1248, allocations: 0.6673 MB / 298.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1248, allocations: 2.812 kB / 298.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.125, allocations: 65.38 kB / 298.3 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.204e-05/0.1251, allocations: 21.61 kB / 298.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1251, allocations: 7.938 kB / 298.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003788/0.1255, allocations: 1.162 MB / 299.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1255, allocations: 6.5 kB / 299.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1258, allocations: 408.3 kB / 299.8 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.126, allocations: 71.48 kB / 299.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.126, allocations: 12.92 kB / 299.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1262, allocations: 25.38 kB / 300 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1263, allocations: 30.7 kB / 300 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1263, allocations: 9.375 kB / 300 MB, free: 22.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003293/0.1266, allocations: 308.9 kB / 300.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1266, allocations: 0 / 300.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006005/0.1272, allocations: 190 kB / 300.5 MB, free: 22.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001389/0.1274, allocations: 104.4 kB / 300.6 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1278, allocations: 384.5 kB / 301 MB, free: 22.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/0.1278, allocations: 10.94 kB / 301 MB, free: 22.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.128, allocations: 202.6 kB / 301.2 MB, free: 22.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.1286, allocations: 195.4 kB / 301.4 MB, free: 22.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1307, allocations: 1.505 MB / 302.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.1308, allocations: 165.8 kB / 303 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.1311, allocations: 96.86 kB / 303.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.1314, allocations: 220 kB / 303.3 MB, free: 21.09 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1314, allocations: 0 / 303.3 MB, free: 21.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01483/0.1462, allocations: 9.645 MB / 313 MB, free: 16.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_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.7490790928713977]