Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001039/0.001039, allocations: 80.8 kB / 21.49 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.001023/0.001023, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.906/0.906, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.358e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.005994/0.006008, allocations: 7.933 MB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.008602, allocations: 2.695 MB / 284.1 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.008907, allocations: 27.88 kB / 284.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008255/0.009733, allocations: 0.5401 MB / 284.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000543/0.01028, allocations: 0.5156 MB / 285.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.01053, allocations: 251.6 kB / 285.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009122/0.01144, allocations: 1.536 MB / 287 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.01182, allocations: 383.2 kB / 287.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.01243, allocations: 0.8729 MB / 288.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.01287, allocations: 474.6 kB / 288.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.01298, allocations: 136 kB / 288.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.01319, allocations: 179.9 kB / 289 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.01331, allocations: 290.8 kB / 289.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.01358, allocations: 454.9 kB / 289.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09663/0.1102, allocations: 0.9218 MB / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1102, allocations: 0 / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1102, allocations: 0 / 290.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.66e-05/0.1103, allocations: 0 / 290.7 MB, free: 18.95 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.001427/0.1117, allocations: 1.361 MB / 292 MB, free: 18.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1117, allocations: 9.312 kB / 292 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.1122, allocations: 231.5 kB / 292.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.1128, allocations: 0.5268 MB / 292.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1129, allocations: 76.88 kB / 292.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.113, allocations: 102.4 kB / 293 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.1137, allocations: 0.7651 MB / 293.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.1137, allocations: 8.984 kB / 293.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1137, allocations: 41.08 kB / 293.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1138, allocations: 25.78 kB / 293.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.1141, allocations: 243.2 kB / 294 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.1168, allocations: 2.939 MB / 297 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1171, allocations: 237.5 kB / 297.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.1173, allocations: 167.1 kB / 297.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1173, allocations: 11.5 kB / 297.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1173, allocations: 42.31 kB / 297.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1173, allocations: 3.188 kB / 297.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001115/0.1185, allocations: 0.7376 MB / 298.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.1185, allocations: 87.59 kB / 298.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.119, allocations: 0.6574 MB / 298.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.119, allocations: 31.8 kB / 298.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1191, allocations: 0.499 MB / 299.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.1192, allocations: 166 kB / 299.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1193, allocations: 130.1 kB / 299.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.1194, allocations: 395.5 kB / 300.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.1195, allocations: 60.45 kB / 300.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1196, allocations: 393.8 kB / 300.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.1199, allocations: 0.4923 MB / 301 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1199, allocations: 3.75 kB / 301 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004868/0.1204, allocations: 488.3 kB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1204, allocations: 9.062 kB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1204, allocations: 10.67 kB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.1206, allocations: 71.31 kB / 301.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.1209, allocations: 159.4 kB / 301.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/0.1217, allocations: 2.601 MB / 304.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.122, allocations: 30.81 kB / 304.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.122, allocations: 34.17 kB / 304.4 MB, free: 11.56 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.0001221/0.1221, allocations: 164.6 kB / 304.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.1222, allocations: 61.39 kB / 304.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1225, allocations: 295.3 kB / 304.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1225, allocations: 8.125 kB / 305 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1225, allocations: 1.375 kB / 305 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1225, allocations: 4.828 kB / 305 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.1233, allocations: 0.7579 MB / 305.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1233, allocations: 6.781 kB / 305.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1234, allocations: 68.69 kB / 305.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.1236, allocations: 58.64 kB / 305.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1236, allocations: 13.41 kB / 305.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007705/0.1243, allocations: 2.584 MB / 308.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1243, allocations: 2.25 kB / 308.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.1247, allocations: 483 kB / 308.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1248, allocations: 72.56 kB / 309 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1249, allocations: 8 kB / 309 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.125, allocations: 26.94 kB / 309 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1251, allocations: 38.08 kB / 309.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1251, allocations: 19.22 kB / 309.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.1254, allocations: 308.6 kB / 309.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1254, allocations: 1.5 kB / 309.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.1258, allocations: 206.8 kB / 309.6 MB, free: 8.355 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.0001298/0.126, allocations: 107.7 kB / 309.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.1264, allocations: 0.5361 MB / 310.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.1264, allocations: 13.12 kB / 310.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1266, allocations: 368.1 kB / 310.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1271, allocations: 202.8 kB / 310.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1287, allocations: 1.568 MB / 312.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/0.1288, allocations: 170.6 kB / 312.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.129, allocations: 97.84 kB / 312.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.1293, allocations: 228.5 kB / 312.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1293, allocations: 0 / 312.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of Templates: time 0.01248/0.1418, allocations: 10.86 MB / 323.7 MB, free: 13.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8642856338992715]