Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0008577/0.0008577, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003786/0.003786, allocations: 160.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8421/0.8421, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.606e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005846/0.005872, allocations: 7.09 MB / 332.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.008743, allocations: 2.466 MB / 335.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.009198, allocations: 27.88 kB / 335.4 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.01008, allocations: 0.513 MB / 335.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.01065, allocations: 0.5039 MB / 336.4 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.0109, allocations: 239.7 kB / 336.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.01173, allocations: 1.493 MB / 338.2 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.01213, allocations: 379.8 kB / 338.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.01277, allocations: 0.8378 MB / 339.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.01312, allocations: 426.6 kB / 339.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.01322, allocations: 136 kB / 339.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.01339, allocations: 172 kB / 340.1 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01351, allocations: 282.9 kB / 340.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.01377, allocations: 450.9 kB / 340.8 MB, free: 376 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.01487, allocations: 1.702 MB / 342.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01487, allocations: 0 / 342.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01487, allocations: 0 / 342.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.01488, allocations: 3.938 kB / 342.5 MB, free: 14.66 MB / 314.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.001397/0.01628, allocations: 1.368 MB / 343.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.01632, allocations: 8.031 kB / 343.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.01662, allocations: 176.1 kB / 344.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.0174, allocations: 0.6689 MB / 344.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.01744, allocations: 70 kB / 344.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.01752, allocations: 96 kB / 344.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.01848, allocations: 0.9982 MB / 345.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.0185, allocations: 7.953 kB / 345.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.01855, allocations: 40 kB / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.01857, allocations: 27.98 kB / 346 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.01929, allocations: 0.6207 MB / 346.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.02204, allocations: 3.349 MB / 349.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.0224, allocations: 263.3 kB / 350.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.02257, allocations: 136.8 kB / 350.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.02259, allocations: 0.5312 kB / 350.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.02261, allocations: 42.56 kB / 350.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.02261, allocations: 0 / 350.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001348/0.02396, allocations: 1.051 MB / 351.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.024, allocations: 85.11 kB / 351.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.0246, allocations: 0.7504 MB / 352.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.02462, allocations: 29.7 kB / 352.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.02488, allocations: 0.5927 MB / 352.9 MB, free: 3.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.02494, allocations: 138.9 kB / 353 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.02504, allocations: 122.6 kB / 353.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.02516, allocations: 382.8 kB / 353.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.02533, allocations: 145.9 kB / 353.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.02564, allocations: 489.9 kB / 354.1 MB, free: 2.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.02616, allocations: 0.6275 MB / 354.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.02616, allocations: 4 kB / 354.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006769/0.02684, allocations: 0.6891 MB / 355.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02686, allocations: 12.03 kB / 355.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.02687, allocations: 12 kB / 355.5 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.02699, allocations: 36.84 kB / 355.5 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.02725, allocations: 155.7 kB / 355.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.02794, allocations: 1.256 MB / 356.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.02816, allocations: 47.94 kB / 357 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.02819, allocations: 32 kB / 357 MB, free: 15.34 MB / 330.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.0002194/0.02841, allocations: 253.6 kB / 357.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.02848, allocations: 83.48 kB / 357.3 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.02889, allocations: 373.5 kB / 357.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02889, allocations: 7.938 kB / 357.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.02889, allocations: 0 / 357.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.0289, allocations: 0 / 357.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009874/0.02988, allocations: 1.032 MB / 358.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02989, allocations: 4.031 kB / 358.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.03005, allocations: 79.89 kB / 358.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-05/0.03011, allocations: 20.86 kB / 358.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.03012, allocations: 11.94 kB / 358.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005337/0.03066, allocations: 1.245 MB / 360.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.03066, allocations: 4.062 kB / 360.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.03122, allocations: 0.6332 MB / 360.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.03135, allocations: 103.4 kB / 360.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.03139, allocations: 8 kB / 360.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.03155, allocations: 31.97 kB / 360.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.0316, allocations: 27.89 kB / 360.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.03161, allocations: 12 kB / 360.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003929/0.03201, allocations: 0.499 MB / 361.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03201, allocations: 0 / 361.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.03241, allocations: 191.9 kB / 361.6 MB, free: 10.51 MB / 330.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.0001791/0.03259, allocations: 127.1 kB / 361.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.03314, allocations: 495.6 kB / 362.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.03315, allocations: 0 / 362.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.03336, allocations: 268.3 kB / 362.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.0339, allocations: 188.2 kB / 362.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03554, allocations: 1.62 MB / 364.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.03579, allocations: 404.7 kB / 364.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.03588, allocations: 56.5 kB / 364.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03588, allocations: 0 / 364.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of Templates: time 0.01154/0.04742, allocations: 15.85 MB / 380.6 MB, free: 7.445 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.952543837018311]