Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.00137/0.00137, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001435/0.001435, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 64.77 kB / 379.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.249, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01068/0.2596, allocations: 8.073 MB / 440.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.2648, allocations: 2.645 MB / 443.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.2655, allocations: 31.81 kB / 443.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2673, allocations: 0.5754 MB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.2684, allocations: 488.4 kB / 444.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.2688, allocations: 243.7 kB / 444.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2704, allocations: 1.424 MB / 445.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.271, allocations: 411.3 kB / 446.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.2718, allocations: 0.5642 MB / 446.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007925/0.2726, allocations: 0.5872 MB / 447.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.2728, allocations: 139.9 kB / 447.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.2731, allocations: 168 kB / 447.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.2733, allocations: 271 kB / 448 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.2739, allocations: 0.6532 MB / 448.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.276, allocations: 1.706 MB / 450.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.276, allocations: 0 / 450.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.276, allocations: 3.938 kB / 450.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.276, allocations: 4 kB / 450.4 MB, free: 4.918 MB / 350.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.002691/0.2787, allocations: 1.384 MB / 451.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2787, allocations: 8.031 kB / 451.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.2793, allocations: 172.1 kB / 451.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.2806, allocations: 0.6611 MB / 452.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.2806, allocations: 74 kB / 452.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2808, allocations: 96 kB / 452.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.2826, allocations: 0.9268 MB / 453.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.2827, allocations: 7.891 kB / 453.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.2827, allocations: 40 kB / 453.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2828, allocations: 24 kB / 453.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2841, allocations: 0.6207 MB / 454.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/0.2894, allocations: 3.768 MB / 458.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.29, allocations: 262.5 kB / 458.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.2903, allocations: 144.6 kB / 458.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.2903, allocations: 4 kB / 458.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2903, allocations: 38.56 kB / 458.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.2903, allocations: 0 / 458.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002404/0.2928, allocations: 1.051 MB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.2928, allocations: 81.11 kB / 459.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.2941, allocations: 0.8293 MB / 460.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2941, allocations: 29.7 kB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.2946, allocations: 0.585 MB / 461.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2947, allocations: 127 kB / 461.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.2949, allocations: 130.6 kB / 461.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.295, allocations: 330 kB / 461.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.2953, allocations: 149.9 kB / 461.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.296, allocations: 456 kB / 462.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.297, allocations: 0.6513 MB / 463 MB, free: 7.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.297, allocations: 4 kB / 463 MB, free: 7.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001248/0.2982, allocations: 0.6969 MB / 463.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2982, allocations: 8 kB / 463.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2982, allocations: 12 kB / 463.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.2984, allocations: 28.84 kB / 463.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.2989, allocations: 163.7 kB / 463.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.3, allocations: 1.291 MB / 465.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.3005, allocations: 36.14 kB / 465.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.3005, allocations: 39.94 kB / 465.2 MB, free: 5.203 MB / 366.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.0004374/0.301, allocations: 257.8 kB / 465.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3011, allocations: 95.31 kB / 465.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.3019, allocations: 374.3 kB / 465.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3019, allocations: 8 kB / 466 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.3019, allocations: 0 / 466 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3019, allocations: 3.984 kB / 466 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.3039, allocations: 1.234 MB / 467.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3039, allocations: 0 / 467.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.3042, allocations: 79.83 kB / 467.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-05/0.3043, allocations: 20.86 kB / 467.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3043, allocations: 11.98 kB / 467.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.3053, allocations: 1.275 MB / 468.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3053, allocations: 4.031 kB / 468.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3064, allocations: 0.6284 MB / 469.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.3066, allocations: 119.4 kB / 469.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3067, allocations: 8 kB / 469.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.3071, allocations: 31.91 kB / 469.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.3072, allocations: 31.89 kB / 469.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3072, allocations: 12 kB / 469.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000787/0.308, allocations: 0.5615 MB / 470 MB, free: 216 kB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.308, allocations: 0 / 470 MB, free: 216 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.3086, allocations: 188 kB / 470.2 MB, free: 28 kB / 366.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.0002103/0.3089, allocations: 131.2 kB / 470.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.3098, allocations: 0.4885 MB / 470.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3098, allocations: 0 / 470.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.3103, allocations: 259.2 kB / 471 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.3112, allocations: 217 kB / 471.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.3139, allocations: 1.714 MB / 473 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.3146, allocations: 0.9884 MB / 473.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.3149, allocations: 106.9 kB / 474 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.315, allocations: 51.44 kB / 474.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.315, allocations: 0 / 474.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01983/0.3349, allocations: 10.12 MB / 484.2 MB, free: 1.969 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.833273998461664]