Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0009355/0.0009355, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001041/0.001041, allocations: 144.4 kB / 25.59 MB, free: 8.914 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.8924/0.8924, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.116e-05, allocations: 2.312 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006188/0.006209, allocations: 7.757 MB / 277 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.009375, allocations: 2.528 MB / 279.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.009781, allocations: 27.88 kB / 279.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.01073, allocations: 0.5207 MB / 280 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.01138, allocations: 0.5 MB / 280.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.01167, allocations: 243.7 kB / 280.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009518/0.01262, allocations: 1.49 MB / 282.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.01304, allocations: 379.2 kB / 282.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.01373, allocations: 0.8456 MB / 283.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.01415, allocations: 458.6 kB / 283.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01425, allocations: 132 kB / 284.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.01446, allocations: 172 kB / 284.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01459, allocations: 282.9 kB / 284.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.01491, allocations: 454.8 kB / 284.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008105/0.01572, allocations: 0.8951 MB / 285.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01572, allocations: 3.984 kB / 285.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01572, allocations: 0 / 285.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.01573, allocations: 0 / 285.8 MB, free: 9.047 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001428/0.01716, allocations: 1.495 MB / 287.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.01719, allocations: 8.031 kB / 287.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.01756, allocations: 256.1 kB / 287.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.01832, allocations: 0.6451 MB / 288.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.01836, allocations: 66 kB / 288.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.01845, allocations: 103.9 kB / 288.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.01911, allocations: 0.7323 MB / 289.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.01913, allocations: 8 kB / 289.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.01918, allocations: 40 kB / 289.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.0192, allocations: 27.94 kB / 289.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.01951, allocations: 265.7 kB / 289.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.02273, allocations: 3.661 MB / 293.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.02297, allocations: 191 kB / 293.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.02305, allocations: 66.2 kB / 293.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.02307, allocations: 11.97 kB / 293.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.02309, allocations: 41.39 kB / 293.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.02309, allocations: 0 / 293.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009827/0.02407, allocations: 0.6552 MB / 294.1 MB, free: 384 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.02412, allocations: 85.11 kB / 294.2 MB, free: 280 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.02467, allocations: 0.7253 MB / 294.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.02469, allocations: 33.7 kB / 294.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.02508, allocations: 0.6539 MB / 295.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.02517, allocations: 138.8 kB / 295.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02529, allocations: 136.2 kB / 295.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.0255, allocations: 0.5741 MB / 296.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.02557, allocations: 53.95 kB / 296.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.02584, allocations: 0.5145 MB / 297 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.02623, allocations: 0.6143 MB / 297.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02623, allocations: 0 / 297.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008074/0.02704, allocations: 0.5396 MB / 298.2 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.02706, allocations: 8 kB / 298.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.02707, allocations: 12 kB / 298.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.02719, allocations: 35.66 kB / 298.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.02746, allocations: 151.8 kB / 298.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007246/0.02819, allocations: 1.729 MB / 300.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.02843, allocations: 31.95 kB / 300.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.02845, allocations: 31.94 kB / 300.1 MB, free: 9.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0001635/0.02862, allocations: 204.3 kB / 300.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.0287, allocations: 99.36 kB / 300.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.02897, allocations: 260.2 kB / 300.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.02897, allocations: 0 / 300.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02898, allocations: 7.938 kB / 300.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02898, allocations: 3.984 kB / 300.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.02982, allocations: 0.8818 MB / 301.6 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.02982, allocations: 3.984 kB / 301.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.02998, allocations: 68.12 kB / 301.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-05/0.03004, allocations: 23.69 kB / 301.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.03006, allocations: 11.98 kB / 301.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006194/0.03068, allocations: 1.705 MB / 303.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.03068, allocations: 7.875 kB / 303.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.03106, allocations: 0.5352 MB / 303.9 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.03119, allocations: 107.4 kB / 304 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.03124, allocations: 11.94 kB / 304.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.0314, allocations: 15.98 kB / 304.1 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.03145, allocations: 27.95 kB / 304.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.03147, allocations: 12.05 kB / 304.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002915/0.03176, allocations: 434.8 kB / 304.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03176, allocations: 4 kB / 304.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.03224, allocations: 188 kB / 304.7 MB, free: 4.871 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0001662/0.03241, allocations: 119.1 kB / 304.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.03311, allocations: 456.2 kB / 305.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03311, allocations: 0 / 305.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.03328, allocations: 267.4 kB / 305.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.03383, allocations: 193.9 kB / 305.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.03566, allocations: 1.585 MB / 307.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.03576, allocations: 166.6 kB / 307.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.03595, allocations: 94.3 kB / 307.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.03624, allocations: 254.1 kB / 307.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03624, allocations: 0 / 307.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Templates: time 0.01383/0.05007, allocations: 9.924 MB / 317.8 MB, free: 7.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_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.9465955519117415]