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.001598/0.001598, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001919/0.001919, allocations: 204.8 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+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 0.001573/0.001573, allocations: 55.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2496, allocations: 53.35 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00927/0.2588, allocations: 7.086 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.2634, allocations: 2.443 MB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.2641, allocations: 27.88 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2655, allocations: 0.5167 MB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009758/0.2664, allocations: 492.4 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.2669, allocations: 239.7 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2683, allocations: 1.432 MB / 444.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.269, allocations: 403.3 kB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.2697, allocations: 0.572 MB / 445.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.2704, allocations: 0.5794 MB / 446.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.2705, allocations: 136 kB / 446.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.2708, allocations: 179.9 kB / 446.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.2711, allocations: 275 kB / 446.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.2716, allocations: 0.5288 MB / 447.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.2734, allocations: 1.708 MB / 448.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2734, allocations: 4 kB / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2734, allocations: 0 / 448.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2734, allocations: 0 / 448.9 MB, free: 6.066 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.002326/0.2757, allocations: 1.388 MB / 450.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2758, allocations: 12.03 kB / 450.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.2763, allocations: 180 kB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2775, allocations: 0.6534 MB / 451.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.2776, allocations: 73.98 kB / 451.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2777, allocations: 99.95 kB / 451.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.2794, allocations: 0.9944 MB / 452.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.2795, allocations: 3.938 kB / 452.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.2796, allocations: 40 kB / 452.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.2796, allocations: 24 kB / 452.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2809, allocations: 0.6246 MB / 453 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/0.2858, allocations: 3.336 MB / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.2864, allocations: 273.2 kB / 456.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.2867, allocations: 144.6 kB / 456.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2867, allocations: 4 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2868, allocations: 38.56 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2868, allocations: 0 / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002273/0.289, allocations: 1.043 MB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.2891, allocations: 81.11 kB / 457.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.2901, allocations: 0.7504 MB / 458.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.2901, allocations: 33.7 kB / 458.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.2906, allocations: 0.5889 MB / 459.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2907, allocations: 134.9 kB / 459.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.2909, allocations: 126.6 kB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2911, allocations: 386.8 kB / 459.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.2914, allocations: 153.9 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.2919, allocations: 485.6 kB / 460.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.2929, allocations: 0.6436 MB / 461.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2929, allocations: 4 kB / 461.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001205/0.2941, allocations: 0.685 MB / 461.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2941, allocations: 8 kB / 461.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2941, allocations: 12 kB / 461.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.2943, allocations: 36.84 kB / 461.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.2948, allocations: 159.7 kB / 462.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.2959, allocations: 1.26 MB / 463.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.2964, allocations: 39.94 kB / 463.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.2965, allocations: 36 kB / 463.4 MB, free: 6.73 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.0003644/0.2968, allocations: 260.2 kB / 463.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2969, allocations: 83.64 kB / 463.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.2977, allocations: 377.3 kB / 464.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.2977, allocations: 7.984 kB / 464.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2977, allocations: 0 / 464.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2977, allocations: 0 / 464.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.2995, allocations: 1.036 MB / 465.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2995, allocations: 0 / 465.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.2999, allocations: 71.91 kB / 465.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.714e-05/0.3, allocations: 24.84 kB / 465.3 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3, allocations: 8 kB / 465.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.3011, allocations: 1.252 MB / 466.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3011, allocations: 7.875 kB / 466.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3022, allocations: 0.6245 MB / 467.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.3024, allocations: 107.6 kB / 467.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.3025, allocations: 8 kB / 467.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.3029, allocations: 31.97 kB / 467.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.303, allocations: 27.89 kB / 467.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.303, allocations: 12 kB / 467.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007241/0.3037, allocations: 0.4951 MB / 467.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3037, allocations: 0 / 467.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000797/0.3045, allocations: 191.9 kB / 468 MB, free: 1.898 MB / 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.0002213/0.3048, allocations: 119.2 kB / 468.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3059, allocations: 0.4924 MB / 468.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3059, allocations: 0 / 468.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.3063, allocations: 259.2 kB / 468.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.3073, allocations: 191.6 kB / 469.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.3104, allocations: 1.747 MB / 470.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.3109, allocations: 412.5 kB / 471.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3111, allocations: 55.44 kB / 471.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3111, allocations: 0 / 471.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02425/0.3353, allocations: 15.84 MB / 487.1 MB, free: 14.72 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/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: 8.377861126995413]