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.0009076/0.0009076, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008993/0.0008993, allocations: 163.3 kB / 24.99 MB, free: 8.746 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.9474/0.9474, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.784e-06/1.784e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.152e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006589/0.006611, allocations: 7.128 MB / 280.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.01021, allocations: 2.318 MB / 282.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.0107, allocations: 19.94 kB / 282.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.0119, allocations: 492.8 kB / 283 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007572/0.01266, allocations: 428.7 kB / 283.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.01303, allocations: 199.8 kB / 283.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.01452, allocations: 1.251 MB / 284.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.01506, allocations: 324.4 kB / 285.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009392/0.016, allocations: 0.7092 MB / 285.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.01637, allocations: 398.8 kB / 286.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/0.01647, allocations: 112 kB / 286.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.01666, allocations: 152 kB / 286.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01677, allocations: 231.1 kB / 286.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.01718, allocations: 379.1 kB / 287.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.01789, allocations: 0.7783 MB / 287.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01789, allocations: 0 / 287.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01789, allocations: 0 / 287.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.0179, allocations: 0 / 287.9 MB, free: 2.875 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.001305/0.01921, allocations: 1.298 MB / 289.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01924, allocations: 8.031 kB / 289.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.01959, allocations: 216.2 kB / 289.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.02032, allocations: 0.5948 MB / 290 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.02036, allocations: 58.38 kB / 290.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.02044, allocations: 80.38 kB / 290.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1261/0.1465, allocations: 0.6606 MB / 290.8 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/0.1466, allocations: 10.98 kB / 290.8 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.1466, allocations: 32.67 kB / 290.9 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1467, allocations: 19.75 kB / 290.9 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.1473, allocations: 282.5 kB / 291.2 MB, free: 29.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.1505, allocations: 3.249 MB / 294.4 MB, free: 26.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1508, allocations: 156.6 kB / 294.6 MB, free: 26.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.1509, allocations: 61.62 kB / 294.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1509, allocations: 6.625 kB / 294.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1509, allocations: 36.55 kB / 294.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/0.1509, allocations: 0.5625 kB / 294.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001275/0.1522, allocations: 0.7189 MB / 295.4 MB, free: 26.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1522, allocations: 82.02 kB / 295.5 MB, free: 26.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.1529, allocations: 0.6859 MB / 296.2 MB, free: 25.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1529, allocations: 28.08 kB / 296.2 MB, free: 25.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.1532, allocations: 0.5727 MB / 296.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.1532, allocations: 107.1 kB / 296.9 MB, free: 25.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1533, allocations: 118.1 kB / 297 MB, free: 25.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1535, allocations: 0.5568 MB / 297.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1536, allocations: 56.98 kB / 297.6 MB, free: 24.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.1539, allocations: 0.5014 MB / 298.1 MB, free: 24.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.1544, allocations: 0.5798 MB / 298.7 MB, free: 23.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1544, allocations: 3.969 kB / 298.7 MB, free: 23.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006551/0.155, allocations: 0.515 MB / 299.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1551, allocations: 10.53 kB / 299.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.1551, allocations: 10.62 kB / 299.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.1552, allocations: 35.28 kB / 299.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1555, allocations: 136.5 kB / 299.4 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/0.1562, allocations: 1.75 MB / 301.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.1565, allocations: 29.47 kB / 301.2 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1565, allocations: 29.97 kB / 301.2 MB, free: 21.59 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.0001624/0.1567, allocations: 203.3 kB / 301.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.1567, allocations: 77.39 kB / 301.5 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.1571, allocations: 232.6 kB / 301.7 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1571, allocations: 8.094 kB / 301.7 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1571, allocations: 1.438 kB / 301.7 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1571, allocations: 2.281 kB / 301.7 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1582, allocations: 0.9144 MB / 302.6 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1582, allocations: 2.438 kB / 302.6 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1583, allocations: 56.33 kB / 302.7 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.1584, allocations: 23.55 kB / 302.7 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1584, allocations: 8.281 kB / 302.7 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000523/0.1589, allocations: 1.73 MB / 304.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1589, allocations: 1.469 kB / 304.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.1593, allocations: 0.4968 MB / 304.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1595, allocations: 90.92 kB / 305 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1595, allocations: 9.641 kB / 305 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1597, allocations: 18.61 kB / 305 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.1598, allocations: 28.34 kB / 305.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1598, allocations: 11.56 kB / 305.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004127/0.1602, allocations: 432.4 kB / 305.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1602, allocations: 3.828 kB / 305.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006291/0.1608, allocations: 166.4 kB / 305.7 MB, free: 18.18 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.0002256/0.161, allocations: 120.3 kB / 305.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.1616, allocations: 432.8 kB / 306.2 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1616, allocations: 0 / 306.2 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1618, allocations: 251.8 kB / 306.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.1624, allocations: 171.5 kB / 306.6 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.1647, allocations: 1.355 MB / 308 MB, free: 16.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.1648, allocations: 143.3 kB / 308.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000274/0.1651, allocations: 84.17 kB / 308.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1652, allocations: 48.25 kB / 308.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1652, allocations: 1.375 kB / 308.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01167/0.1769, allocations: 8.005 MB / 316.3 MB, free: 10.83 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 -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.998612832976505]