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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=40000,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=40000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 102.7 kB / 17.16 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.002231, allocations: 198.9 kB / 18.08 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.102/2.102, allocations: 222.9 MB / 241.8 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 46.84 kB / 300.6 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1591, allocations: 49.45 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01636/0.1755, allocations: 7.946 MB / 358 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007953/0.1836, allocations: 2.571 MB / 360.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.1855, allocations: 23.94 kB / 360.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.1885, allocations: 498.1 kB / 361.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.1917, allocations: 389.2 kB / 361.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1932, allocations: 215.9 kB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003597/0.1968, allocations: 1.349 MB / 363 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.1987, allocations: 0.5123 MB / 363.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.2002, allocations: 489.8 kB / 364 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.2017, allocations: 0.5559 MB / 364.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.2022, allocations: 84 kB / 364.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.2031, allocations: 116 kB / 364.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.2035, allocations: 226.9 kB / 365 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.2051, allocations: 0.5985 MB / 365.6 MB, free: 5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.2076, allocations: 1.368 MB / 367 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2076, allocations: 0 / 367 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2076, allocations: 0 / 367 MB, free: 3.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.59e-05/0.2077, allocations: 4 kB / 367 MB, free: 3.625 MB / 302.1 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.004684/0.2124, allocations: 1.429 MB / 368.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.2125, allocations: 8.031 kB / 368.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.2135, allocations: 175.3 kB / 368.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.2155, allocations: 0.7145 MB / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.2156, allocations: 74 kB / 369.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.2159, allocations: 92 kB / 369.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.2185, allocations: 0.919 MB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.2186, allocations: 15.91 kB / 370.4 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.2187, allocations: 36 kB / 370.4 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.2188, allocations: 24 kB / 370.4 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3121/0.5309, allocations: 0.6239 MB / 371.1 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/0.5404, allocations: 3.915 MB / 375 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.5414, allocations: 354.6 kB / 375.3 MB, free: 22.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.5419, allocations: 143.5 kB / 375.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.542, allocations: 4.938 kB / 375.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.5421, allocations: 38.81 kB / 375.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.567e-06/0.5421, allocations: 0.5469 kB / 375.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.003925/0.546, allocations: 1.18 MB / 376.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.5461, allocations: 81.98 kB / 376.8 MB, free: 21.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.5481, allocations: 0.8295 MB / 377.6 MB, free: 21.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.5482, allocations: 32.05 kB / 377.6 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.5487, allocations: 0.5667 MB / 378.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.5489, allocations: 133.2 kB / 378.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.5492, allocations: 126.5 kB / 378.5 MB, free: 20.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5493, allocations: 333.7 kB / 378.8 MB, free: 20.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.5499, allocations: 152.3 kB / 378.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.5507, allocations: 462.3 kB / 379.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.5519, allocations: 0.6346 MB / 380 MB, free: 19.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.5519, allocations: 2.875 kB / 380 MB, free: 19.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00208/0.554, allocations: 0.6901 MB / 380.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.5541, allocations: 9.391 kB / 380.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.5541, allocations: 11.47 kB / 380.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.5544, allocations: 29.64 kB / 380.8 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.5553, allocations: 168.4 kB / 380.9 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.5564, allocations: 1.293 MB / 382.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5575, allocations: 38 kB / 382.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.5576, allocations: 33.08 kB / 382.3 MB, free: 17.67 MB / 302.1 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.0006312/0.5582, allocations: 259.4 kB / 382.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.5585, allocations: 88.23 kB / 382.6 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5596, allocations: 373.5 kB / 383 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5596, allocations: 4.953 kB / 383 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5596, allocations: 1.062 kB / 383 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5596, allocations: 1.547 kB / 383 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.5627, allocations: 1.262 MB / 384.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5627, allocations: 5.719 kB / 384.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.5632, allocations: 82.39 kB / 384.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.5634, allocations: 18.7 kB / 384.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5634, allocations: 16.25 kB / 384.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.5645, allocations: 1.269 MB / 385.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5645, allocations: 3.406 kB / 385.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5662, allocations: 0.6271 MB / 386.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.5667, allocations: 197.6 kB / 386.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.5668, allocations: 8.312 kB / 386.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.5675, allocations: 22.59 kB / 386.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5676, allocations: 32.95 kB / 386.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.5677, allocations: 13.38 kB / 386.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.569, allocations: 0.5594 MB / 387.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5691, allocations: 4 kB / 387.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00165/0.5707, allocations: 188.8 kB / 387.3 MB, free: 14.33 MB / 302.1 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.0002856/0.571, allocations: 122 kB / 387.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.5727, allocations: 0.5054 MB / 387.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5727, allocations: 5.406 kB / 387.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.5734, allocations: 267.9 kB / 388.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.5755, allocations: 204.4 kB / 388.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.5801, allocations: 2.136 MB / 390.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/0.581, allocations: 0.9946 MB / 391.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.5814, allocations: 59.75 kB / 391.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.756e-06/0.5814, allocations: 0 / 391.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Templates: time 0.03239/0.6138, allocations: 15.7 MB / 407.3 MB, free: 60 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches