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.0009548/0.0009547, allocations: 89.09 kB / 16.65 MB, free: 6.535 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.0009326/0.0009327, allocations: 172.6 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003963, allocations: 11.94 kB / 301.4 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1199, allocations: 50.41 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008617/0.1286, allocations: 7.466 MB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.133, allocations: 2.537 MB / 361.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.1336, allocations: 23.94 kB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1349, allocations: 0.4903 MB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008585/0.1357, allocations: 389.2 kB / 362.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1361, allocations: 215.8 kB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1374, allocations: 1.354 MB / 364.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.1381, allocations: 0.5006 MB / 364.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.1386, allocations: 457.8 kB / 365.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.1391, allocations: 0.5013 MB / 365.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1392, allocations: 64 kB / 365.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.1394, allocations: 99.97 kB / 365.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1396, allocations: 187 kB / 366.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.1401, allocations: 0.5962 MB / 366.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1414, allocations: 1.596 MB / 368.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1414, allocations: 0 / 368.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1415, allocations: 0 / 368.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1415, allocations: 0 / 368.3 MB, free: 3.184 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.001978/0.1435, allocations: 1.239 MB / 369.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1435, allocations: 8.031 kB / 369.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000556/0.1441, allocations: 171.4 kB / 369.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1452, allocations: 0.7144 MB / 370.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.1453, allocations: 78 kB / 370.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1454, allocations: 99.91 kB / 370.6 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1925/0.3379, allocations: 0.9221 MB / 371.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.338, allocations: 3.047 kB / 371.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3381, allocations: 39.53 kB / 371.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.3382, allocations: 29.31 kB / 371.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3399, allocations: 0.6378 MB / 372.2 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005993/0.3459, allocations: 3.935 MB / 376.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.3465, allocations: 361.2 kB / 376.5 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.3468, allocations: 155.8 kB / 376.7 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3468, allocations: 4.125 kB / 376.7 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3468, allocations: 35.94 kB / 376.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.3469, allocations: 4.281 kB / 376.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002256/0.3491, allocations: 1.226 MB / 377.9 MB, free: 21.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3492, allocations: 82.41 kB / 378 MB, free: 21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3502, allocations: 0.8265 MB / 378.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3503, allocations: 31.08 kB / 378.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.3506, allocations: 0.565 MB / 379.4 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.3507, allocations: 131.1 kB / 379.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.3507, allocations: 56.22 kB / 379.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.3508, allocations: 332.9 kB / 379.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.3511, allocations: 158.1 kB / 380.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.3515, allocations: 464.9 kB / 380.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.3523, allocations: 0.6612 MB / 381.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3523, allocations: 2.75 kB / 381.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001177/0.3535, allocations: 0.7032 MB / 381.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3535, allocations: 13.34 kB / 381.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3535, allocations: 10.41 kB / 381.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.3537, allocations: 38.38 kB / 382 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.3542, allocations: 160.1 kB / 382.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/0.3551, allocations: 1.293 MB / 383.4 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.3556, allocations: 36.97 kB / 383.5 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3557, allocations: 33.56 kB / 383.5 MB, free: 16.95 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.0003855/0.3561, allocations: 267.7 kB / 383.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3562, allocations: 83.66 kB / 383.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.357, allocations: 388.8 kB / 384.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.357, allocations: 3.375 kB / 384.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.357, allocations: 0.6094 kB / 384.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.357, allocations: 8 kB / 384.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.359, allocations: 1.288 MB / 385.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.359, allocations: 1.969 kB / 385.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.3593, allocations: 72.48 kB / 385.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/0.3594, allocations: 23.23 kB / 385.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3594, allocations: 12.78 kB / 385.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.36, allocations: 1.283 MB / 386.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.36, allocations: 2.906 kB / 386.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3611, allocations: 0.6461 MB / 387.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3613, allocations: 192.1 kB / 387.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.3614, allocations: 16.8 kB / 387.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3618, allocations: 26.91 kB / 387.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.3619, allocations: 29.8 kB / 387.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3619, allocations: 8.438 kB / 387.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007845/0.3627, allocations: 0.5633 MB / 388.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3627, allocations: 0 / 388.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007815/0.3635, allocations: 189 kB / 388.6 MB, free: 13.58 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.0001893/0.3637, allocations: 122 kB / 388.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3648, allocations: 0.5148 MB / 389.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3648, allocations: 0 / 389.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.3652, allocations: 280.3 kB / 389.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3666, allocations: 209.8 kB / 389.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.3695, allocations: 2.213 MB / 391.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.37, allocations: 0.994 MB / 392.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.3704, allocations: 97.95 kB / 393 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3706, allocations: 57.84 kB / 393 MB, free: 10.8 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3706, allocations: 0 / 393 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01603/0.3866, allocations: 8.938 MB / 402 MB, free: 5.512 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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