Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.0009377/0.0009377, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001179/0.001179, allocations: 171.5 kB / 24.91 MB, free: 8.723 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.9221/0.9221, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.158e-05, allocations: 2.312 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00569/0.005701, allocations: 7.043 MB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.008977, allocations: 2.387 MB / 282.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.009372, allocations: 19.94 kB / 283 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.01023, allocations: 0.489 MB / 283.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.01079, allocations: 428.7 kB / 283.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.01133, allocations: 211.6 kB / 284.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008025/0.01214, allocations: 1.241 MB / 285.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.01249, allocations: 336.5 kB / 285.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.01304, allocations: 0.7209 MB / 286.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.01338, allocations: 386.9 kB / 286.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.01347, allocations: 108 kB / 286.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.01365, allocations: 155.9 kB / 287 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.01375, allocations: 235.1 kB / 287.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.01397, allocations: 375.1 kB / 287.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.01458, allocations: 0.7666 MB / 288.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01458, allocations: 0 / 288.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01458, allocations: 0 / 288.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.01459, allocations: 0 / 288.4 MB, free: 2.18 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.0009899/0.01558, allocations: 1.165 MB / 289.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.01561, allocations: 8.031 kB / 289.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.01589, allocations: 180.8 kB / 289.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.01638, allocations: 466.7 kB / 290.2 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.01641, allocations: 58.38 kB / 290.2 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.01647, allocations: 88.33 kB / 290.3 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/0.1239, allocations: 0.6042 MB / 290.9 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1239, allocations: 5 kB / 290.9 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.1239, allocations: 36.39 kB / 290.9 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.124, allocations: 20 kB / 291 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.1243, allocations: 196.1 kB / 291.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.1265, allocations: 2.597 MB / 293.8 MB, free: 23.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1266, allocations: 124.3 kB / 293.9 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1267, allocations: 47.89 kB / 293.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1267, allocations: 5.031 kB / 293.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.1267, allocations: 38.03 kB / 294 MB, free: 22.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1267, allocations: 3.281 kB / 294 MB, free: 22.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007483/0.1275, allocations: 0.5393 MB / 294.5 MB, free: 22.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.1275, allocations: 82.14 kB / 294.6 MB, free: 22.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.1279, allocations: 0.5954 MB / 295.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1279, allocations: 30.58 kB / 295.2 MB, free: 22.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1281, allocations: 455.1 kB / 295.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1281, allocations: 116.3 kB / 295.8 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.1282, allocations: 112.8 kB / 295.9 MB, free: 22.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.1283, allocations: 383.9 kB / 296.3 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.1283, allocations: 44.56 kB / 296.3 MB, free: 21.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1284, allocations: 375.7 kB / 296.7 MB, free: 21.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1287, allocations: 448.1 kB / 297.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1287, allocations: 5.062 kB / 297.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003882/0.1291, allocations: 409.8 kB / 297.5 MB, free: 21.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1291, allocations: 10.44 kB / 297.5 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1291, allocations: 9.25 kB / 297.5 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.1292, allocations: 28.3 kB / 297.6 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.1295, allocations: 143.8 kB / 297.7 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004147/0.1299, allocations: 1.17 MB / 298.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1301, allocations: 31.39 kB / 298.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1301, allocations: 35.09 kB / 298.9 MB, free: 19.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0001133/0.1302, allocations: 150.3 kB / 299.1 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1303, allocations: 53.06 kB / 299.1 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.1305, allocations: 184.1 kB / 299.3 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1305, allocations: 2.469 kB / 299.3 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1305, allocations: 5.359 kB / 299.3 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1305, allocations: 6.5 kB / 299.3 MB, free: 19.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.1311, allocations: 0.5854 MB / 299.9 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1311, allocations: 1.953 kB / 299.9 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1312, allocations: 64.48 kB / 300 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.253e-05/0.1313, allocations: 26.64 kB / 300 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1313, allocations: 13.12 kB / 300 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003087/0.1316, allocations: 1.152 MB / 301.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1316, allocations: 1.375 kB / 301.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1318, allocations: 357.5 kB / 301.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.1319, allocations: 63.55 kB / 301.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.132, allocations: 8.438 kB / 301.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1321, allocations: 15.62 kB / 301.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.1321, allocations: 29.86 kB / 301.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1322, allocations: 10.73 kB / 301.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.1324, allocations: 275.9 kB / 301.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1324, allocations: 0 / 301.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.1328, allocations: 158.2 kB / 302.1 MB, free: 18.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0001225/0.1329, allocations: 110.3 kB / 302.2 MB, free: 18.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1332, allocations: 351.3 kB / 302.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/0.1333, allocations: 9.906 kB / 302.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1334, allocations: 185.2 kB / 302.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1338, allocations: 177.7 kB / 302.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1353, allocations: 1.295 MB / 304.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.1354, allocations: 145.3 kB / 304.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.1356, allocations: 82.55 kB / 304.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.1359, allocations: 194.2 kB / 304.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1359, allocations: 0 / 304.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01144/0.1473, allocations: 8.64 MB / 313.2 MB, free: 12.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_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.80785499420017]