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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 100 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 187.5 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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=20000,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=20000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 51.91 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009469/0.2439, allocations: 7.06 MB / 430.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004592/0.2485, allocations: 2.419 MB / 433.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.2493, allocations: 27.88 kB / 433.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2508, allocations: 0.5131 MB / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.2521, allocations: 492.4 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.2527, allocations: 243.8 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.2544, allocations: 1.432 MB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006632/0.2551, allocations: 379.3 kB / 436.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.2558, allocations: 0.5525 MB / 436.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.2565, allocations: 0.4935 MB / 437.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.2567, allocations: 139.9 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.257, allocations: 188 kB / 437.7 MB, free: 492 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2573, allocations: 271 kB / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005439/0.2578, allocations: 0.525 MB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.2597, allocations: 1.708 MB / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2597, allocations: 0 / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2597, allocations: 0 / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.2598, allocations: 3.938 kB / 440.2 MB, free: 13.97 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.002451/0.2622, allocations: 1.388 MB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2623, allocations: 8.031 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.2628, allocations: 184 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.2641, allocations: 0.6572 MB / 442.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.2642, allocations: 70 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.2644, allocations: 100 kB / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.2661, allocations: 1.002 MB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.2662, allocations: 7.938 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.2663, allocations: 40 kB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2663, allocations: 24 kB / 443.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2675, allocations: 0.6168 MB / 444.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.2725, allocations: 3.348 MB / 447.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.2731, allocations: 254.5 kB / 447.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.2733, allocations: 132.8 kB / 448 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.2734, allocations: 15.92 kB / 448.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2734, allocations: 38.56 kB / 448.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.2734, allocations: 0 / 448.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002341/0.2758, allocations: 1.05 MB / 449.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.2758, allocations: 89.03 kB / 449.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2769, allocations: 0.7465 MB / 450 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2769, allocations: 37.7 kB / 450 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.2774, allocations: 0.585 MB / 450.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2775, allocations: 134.8 kB / 450.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2777, allocations: 130.6 kB / 450.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.2779, allocations: 386.8 kB / 451.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.2782, allocations: 145.9 kB / 451.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.2788, allocations: 485.7 kB / 451.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.2797, allocations: 0.633 MB / 452.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2797, allocations: 4 kB / 452.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001255/0.281, allocations: 0.6853 MB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.281, allocations: 8 kB / 453.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.281, allocations: 12 kB / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.2812, allocations: 36.8 kB / 453.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.2817, allocations: 159.7 kB / 453.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2828, allocations: 1.268 MB / 454.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.2833, allocations: 35.94 kB / 454.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.2834, allocations: 36 kB / 454.7 MB, free: 14.62 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.0003879/0.2838, allocations: 257.5 kB / 455 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2839, allocations: 75.53 kB / 455.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.2846, allocations: 377.3 kB / 455.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2847, allocations: 4 kB / 455.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2847, allocations: 0 / 455.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2847, allocations: 3.984 kB / 455.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.2864, allocations: 1.033 MB / 456.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2864, allocations: 0 / 456.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.2867, allocations: 75.89 kB / 456.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.124e-05/0.2868, allocations: 20.84 kB / 456.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2868, allocations: 12 kB / 456.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.2879, allocations: 1.252 MB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2879, allocations: 0 / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2889, allocations: 0.6289 MB / 458.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.2892, allocations: 103.5 kB / 458.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.2893, allocations: 11.98 kB / 458.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.2896, allocations: 28.08 kB / 458.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.2897, allocations: 27.89 kB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.2897, allocations: 19.94 kB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.2904, allocations: 0.4951 MB / 459.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2904, allocations: 0 / 459.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007376/0.2911, allocations: 191.9 kB / 459.3 MB, free: 9.801 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.0002156/0.2914, allocations: 131.1 kB / 459.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2924, allocations: 0.4915 MB / 459.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2924, allocations: 0 / 459.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.2929, allocations: 264.3 kB / 460.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.2943, allocations: 184.8 kB / 460.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.2987, allocations: 1.743 MB / 462.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.2993, allocations: 404.7 kB / 462.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.2995, allocations: 55.44 kB / 462.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2995, allocations: 0 / 462.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of Templates: time 0.03193/0.3315, allocations: 15.82 MB / 478.4 MB, free: 6.648 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.539918740745634]