Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.3e-05, allocations: 3.281 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007611/0.007634, allocations: 6.991 MB / 281.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.01187, allocations: 2.317 MB / 283.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.01281, allocations: 19.94 kB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.01435, allocations: 484.8 kB / 283.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01557, allocations: 436.6 kB / 284.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.01608, allocations: 203.8 kB / 284.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.0177, allocations: 1.245 MB / 285.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.01837, allocations: 328.4 kB / 286.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.01954, allocations: 0.7132 MB / 286.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.02016, allocations: 382.9 kB / 287.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.02032, allocations: 116 kB / 287.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.02065, allocations: 152 kB / 287.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.02081, allocations: 227.1 kB / 287.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.02151, allocations: 379.1 kB / 288.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.02258, allocations: 0.7705 MB / 288.8 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02258, allocations: 3.984 kB / 288.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02259, allocations: 0 / 288.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.02261, allocations: 0 / 288.8 MB, free: 5.496 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.001856/0.02446, allocations: 1.301 MB / 290.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.0245, allocations: 8.031 kB / 290.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.02503, allocations: 216.2 kB / 290.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.02591, allocations: 0.5675 MB / 290.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.02596, allocations: 58.38 kB / 291 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.02608, allocations: 84.36 kB / 291.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008883/0.02697, allocations: 0.6177 MB / 291.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.027, allocations: 8.141 kB / 291.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.02706, allocations: 35.94 kB / 291.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.02708, allocations: 20 kB / 291.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.02751, allocations: 233.7 kB / 292 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.03145, allocations: 3.266 MB / 295.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.03176, allocations: 147 kB / 295.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.03184, allocations: 47.66 kB / 295.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.03186, allocations: 4 kB / 295.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.03189, allocations: 45.39 kB / 295.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.374e-06/0.0319, allocations: 0 / 295.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001163/0.03306, allocations: 0.5684 MB / 296 MB, free: 13.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.0331, allocations: 85.27 kB / 296.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.0338, allocations: 0.6668 MB / 296.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.03382, allocations: 33.69 kB / 296.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.03419, allocations: 0.576 MB / 297.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.03428, allocations: 107.1 kB / 297.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.03442, allocations: 123.9 kB / 297.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.03464, allocations: 0.5624 MB / 298.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.03473, allocations: 45.27 kB / 298.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.03507, allocations: 0.5029 MB / 298.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.03558, allocations: 0.55 MB / 299.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.03559, allocations: 4 kB / 299.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000714/0.0363, allocations: 492.4 kB / 299.8 MB, free: 9.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.03633, allocations: 8 kB / 299.8 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.03634, allocations: 11.94 kB / 299.8 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.0365, allocations: 40.34 kB / 299.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.03688, allocations: 143.8 kB / 300 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.0381, allocations: 1.721 MB / 301.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.03846, allocations: 24 kB / 301.7 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.03849, allocations: 24 kB / 301.7 MB, free: 7.637 MB / 282.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.0002005/0.03869, allocations: 204.4 kB / 301.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.03879, allocations: 79.53 kB / 302 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.03912, allocations: 219.8 kB / 302.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.03912, allocations: 0 / 302.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.03912, allocations: 0 / 302.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.03913, allocations: 7.984 kB / 302.2 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.04013, allocations: 0.7913 MB / 303 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.04013, allocations: 4 kB / 303 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.04034, allocations: 55.91 kB / 303.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.04042, allocations: 19.69 kB / 303.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.04043, allocations: 11.94 kB / 303.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007992/0.04123, allocations: 1.705 MB / 304.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.04124, allocations: 7.938 kB / 304.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.04171, allocations: 489.8 kB / 305.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.04186, allocations: 87.53 kB / 305.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.04193, allocations: 8 kB / 305.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.04216, allocations: 15.98 kB / 305.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.04221, allocations: 31.97 kB / 305.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.04223, allocations: 7.984 kB / 305.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003632/0.04259, allocations: 398.9 kB / 305.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04259, allocations: 0 / 305.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006557/0.04325, allocations: 156 kB / 306 MB, free: 3.109 MB / 282.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.0001864/0.04343, allocations: 127.1 kB / 306.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.04394, allocations: 403.9 kB / 306.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.04394, allocations: 8 kB / 306.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.04415, allocations: 249.3 kB / 306.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.04489, allocations: 184.8 kB / 306.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.04705, allocations: 1.342 MB / 308.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.04717, allocations: 146.1 kB / 308.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000256/0.04742, allocations: 73.48 kB / 308.5 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.04801, allocations: 242.1 kB / 308.7 MB, free: 240 kB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04801, allocations: 0 / 308.7 MB, free: 240 kB / 282.7 MB Notification: Performance of Templates: time 0.01602/0.06403, allocations: 8.829 MB / 317.6 MB, free: 7.574 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.009124396368861]