Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009944/0.0009944, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009823/0.0009823, allocations: 167.8 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.96/0.96, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/4.041e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01001/0.01005, allocations: 7.094 MB / 258.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.01519, allocations: 2.346 MB / 260.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.01595, allocations: 23.88 kB / 260.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.0174, allocations: 476.9 kB / 261 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.01851, allocations: 428.7 kB / 261.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.01893, allocations: 207.8 kB / 261.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.02024, allocations: 1.245 MB / 262.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.02081, allocations: 320.5 kB / 263.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009977/0.02181, allocations: 0.7053 MB / 263.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.02234, allocations: 390.8 kB / 264.3 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.02248, allocations: 116 kB / 264.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.02275, allocations: 148 kB / 264.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.02288, allocations: 239.1 kB / 264.7 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.02323, allocations: 379.1 kB / 265.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009873/0.02422, allocations: 0.7744 MB / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.02423, allocations: 0 / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02423, allocations: 0 / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.02425, allocations: 0 / 265.9 MB, free: 4.652 MB / 250.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.001809/0.02606, allocations: 1.309 MB / 267.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.02613, allocations: 15.98 kB / 267.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.02659, allocations: 204.2 kB / 267.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/0.02742, allocations: 0.5987 MB / 268 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.02746, allocations: 58.38 kB / 268.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.02755, allocations: 80.38 kB / 268.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.0283, allocations: 0.6608 MB / 268.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.02833, allocations: 8.125 kB / 268.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.02837, allocations: 39.94 kB / 268.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.02838, allocations: 20 kB / 268.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.02884, allocations: 283.7 kB / 269.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.0321, allocations: 3.255 MB / 272.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.03241, allocations: 157.9 kB / 272.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.03251, allocations: 63.66 kB / 272.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.03254, allocations: 4.438 kB / 272.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.03257, allocations: 37.39 kB / 272.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.03257, allocations: 4 kB / 272.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001195/0.03376, allocations: 0.713 MB / 273.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.03382, allocations: 85.05 kB / 273.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.03443, allocations: 0.6867 MB / 274.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.03445, allocations: 29.7 kB / 274.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.03471, allocations: 0.5645 MB / 274.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.03477, allocations: 111 kB / 274.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.03488, allocations: 123.9 kB / 275 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.03505, allocations: 0.5508 MB / 275.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.03515, allocations: 61.27 kB / 275.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.03545, allocations: 0.4914 MB / 276.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.0359, allocations: 0.5838 MB / 276.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.03591, allocations: 0 / 276.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005895/0.0365, allocations: 0.5164 MB / 277.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.03652, allocations: 11.94 kB / 277.2 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.03653, allocations: 12 kB / 277.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.03668, allocations: 31.67 kB / 277.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.03693, allocations: 135.8 kB / 277.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/0.03791, allocations: 1.74 MB / 279.1 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.03812, allocations: 31.94 kB / 279.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.03815, allocations: 36 kB / 279.2 MB, free: 6.41 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.0001895/0.03834, allocations: 196.3 kB / 279.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.03842, allocations: 75.58 kB / 279.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.03876, allocations: 239.8 kB / 279.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.03876, allocations: 0 / 279.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.03876, allocations: 0 / 279.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.03877, allocations: 7.938 kB / 279.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.03973, allocations: 0.9085 MB / 280.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.03973, allocations: 3.938 kB / 280.6 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.03988, allocations: 60.12 kB / 280.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.169e-05/0.03995, allocations: 27.67 kB / 280.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.03996, allocations: 8 kB / 280.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.04069, allocations: 1.732 MB / 282.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.04069, allocations: 0 / 282.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.04114, allocations: 0.5019 MB / 282.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.04127, allocations: 87.53 kB / 283 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.04131, allocations: 8 kB / 283 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.04145, allocations: 15.94 kB / 283 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.04152, allocations: 27.89 kB / 283.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.04153, allocations: 12 kB / 283.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.04191, allocations: 431 kB / 283.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04191, allocations: 0 / 283.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005128/0.04242, allocations: 160 kB / 283.6 MB, free: 1.652 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.0002412/0.04266, allocations: 119.1 kB / 283.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.04323, allocations: 430 kB / 284.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04323, allocations: 1.938 kB / 284.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.0434, allocations: 257.9 kB / 284.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.04394, allocations: 180.8 kB / 284.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.04596, allocations: 1.331 MB / 285.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.04606, allocations: 146.1 kB / 286.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.04627, allocations: 81.48 kB / 286.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.04634, allocations: 44.5 kB / 286.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.04634, allocations: 0 / 286.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.01246/0.05881, allocations: 8.001 MB / 294.2 MB, free: 6.977 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2240870338864625]