Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.0009872/0.0009872, 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.0009296/0.0009296, allocations: 147.1 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.9706/0.9706, 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.559e-05, allocations: 6.25 kB / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006696/0.006721, allocations: 7.031 MB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.01186, allocations: 2.364 MB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.01289, allocations: 27.88 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.01412, allocations: 488.8 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008615/0.01499, allocations: 428.7 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.01532, allocations: 207.7 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.0165, allocations: 1.256 MB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.01692, allocations: 328.5 kB / 280.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.01781, allocations: 0.7092 MB / 281.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.01832, allocations: 386.9 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01843, allocations: 116 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.01871, allocations: 148 kB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01883, allocations: 235.1 kB / 282.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.01912, allocations: 371.1 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.01994, allocations: 0.7743 MB / 283.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01994, allocations: 0 / 283.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01994, allocations: 0 / 283.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.01996, allocations: 0 / 283.3 MB, free: 7.059 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.001269/0.02123, allocations: 1.157 MB / 284.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.02126, allocations: 8.031 kB / 284.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.0216, allocations: 180.8 kB / 284.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.02221, allocations: 470.6 kB / 285.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.02225, allocations: 62.36 kB / 285.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.02232, allocations: 88.31 kB / 285.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.02289, allocations: 0.6112 MB / 285.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.02291, allocations: 4.188 kB / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.02295, allocations: 35.94 kB / 285.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.02296, allocations: 20 kB / 285.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.02322, allocations: 205.8 kB / 286.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.02553, allocations: 2.593 MB / 288.7 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.02573, allocations: 121.5 kB / 288.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.02579, allocations: 52.77 kB / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.02581, allocations: 4 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.02583, allocations: 42.56 kB / 289 MB, free: 1.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.02584, allocations: 0 / 289 MB, free: 1.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008444/0.02668, allocations: 0.5234 MB / 289.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.02671, allocations: 85.33 kB / 289.6 MB, free: 488 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1008/0.1276, allocations: 0.5984 MB / 290.2 MB, free: 28.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1276, allocations: 29.64 kB / 290.2 MB, free: 28.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1278, allocations: 449.5 kB / 290.6 MB, free: 28.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.1279, allocations: 114.1 kB / 290.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.128, allocations: 117.9 kB / 290.9 MB, free: 28.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1281, allocations: 381.1 kB / 291.2 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.1282, allocations: 43.75 kB / 291.3 MB, free: 27.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.1284, allocations: 371.8 kB / 291.6 MB, free: 27.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.1288, allocations: 456.2 kB / 292.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1288, allocations: 4.969 kB / 292.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006481/0.1295, allocations: 395.4 kB / 292.5 MB, free: 27.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1295, allocations: 12.78 kB / 292.5 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.1295, allocations: 12.58 kB / 292.5 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.1296, allocations: 31.05 kB / 292.5 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.13, allocations: 144.6 kB / 292.7 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005822/0.1306, allocations: 1.165 MB / 293.8 MB, free: 26.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.1309, allocations: 31.84 kB / 293.9 MB, free: 26.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.131, allocations: 32.64 kB / 293.9 MB, free: 26.09 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.0001621/0.1311, allocations: 155.5 kB / 294 MB, free: 25.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.1312, allocations: 50 kB / 294.1 MB, free: 25.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1315, allocations: 194.1 kB / 294.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1315, allocations: 3.5 kB / 294.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1315, allocations: 1.875 kB / 294.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1315, allocations: 2.734 kB / 294.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.1323, allocations: 0.5935 MB / 294.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1323, allocations: 4.891 kB / 294.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.1325, allocations: 61.69 kB / 294.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.1326, allocations: 23.19 kB / 295 MB, free: 25.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1326, allocations: 7.375 kB / 295 MB, free: 25.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004321/0.133, allocations: 1.157 MB / 296.1 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.133, allocations: 3.641 kB / 296.1 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1334, allocations: 361.2 kB / 296.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1335, allocations: 64.52 kB / 296.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.1336, allocations: 8.016 kB / 296.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.1338, allocations: 14.86 kB / 296.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.1338, allocations: 34.36 kB / 296.6 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1339, allocations: 6.469 kB / 296.6 MB, free: 24.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003479/0.1342, allocations: 276.3 kB / 296.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1342, allocations: 0 / 296.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000645/0.1349, allocations: 160.4 kB / 297 MB, free: 24.22 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.0001654/0.135, allocations: 100.9 kB / 297.1 MB, free: 24.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.1355, allocations: 338.4 kB / 297.5 MB, free: 24.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.834e-05/0.1355, allocations: 13.06 kB / 297.5 MB, free: 24.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1356, allocations: 185.7 kB / 297.7 MB, free: 23.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.1362, allocations: 172 kB / 297.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1383, allocations: 1.304 MB / 299.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.1384, allocations: 143.5 kB / 299.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.1387, allocations: 81.94 kB / 299.4 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.139, allocations: 195.2 kB / 299.5 MB, free: 23.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.139, allocations: 0 / 299.5 MB, free: 23.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01465/0.1537, allocations: 8.624 MB / 308.2 MB, free: 20.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8262429828755558]