Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001295/0.001295, allocations: 106.5 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.001408/0.001408, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.91 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2514, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01087/0.2622, allocations: 8.07 MB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.2674, allocations: 2.637 MB / 442.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/0.2684, allocations: 27.88 kB / 442.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.2703, allocations: 0.575 MB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.2719, allocations: 492.4 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.2727, allocations: 247.7 kB / 444.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.2749, allocations: 1.428 MB / 445.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007979/0.2757, allocations: 411.3 kB / 446 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/0.2766, allocations: 0.5564 MB / 446.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.2776, allocations: 0.5871 MB / 447.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.2779, allocations: 136 kB / 447.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.2784, allocations: 180 kB / 447.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.2787, allocations: 271 kB / 447.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.2796, allocations: 0.6532 MB / 448.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2819, allocations: 1.704 MB / 450.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2819, allocations: 0 / 450.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2819, allocations: 0 / 450.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.51e-05/0.2819, allocations: 3.938 kB / 450.1 MB, free: 5.047 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.002752/0.2847, allocations: 1.384 MB / 451.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2847, allocations: 8.031 kB / 451.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.2853, allocations: 176.1 kB / 451.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2866, allocations: 0.6533 MB / 452.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.2867, allocations: 78 kB / 452.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.2868, allocations: 99.98 kB / 452.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.2887, allocations: 0.9229 MB / 453.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.2887, allocations: 3.953 kB / 453.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.2888, allocations: 44 kB / 453.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.2888, allocations: 24 kB / 453.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2901, allocations: 0.6246 MB / 454.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/0.2957, allocations: 3.765 MB / 457.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2963, allocations: 273.5 kB / 458.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.2966, allocations: 140.7 kB / 458.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.2967, allocations: 0 / 458.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2967, allocations: 38.56 kB / 458.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.2967, allocations: 0 / 458.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002492/0.2992, allocations: 1.051 MB / 459.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.2993, allocations: 85.11 kB / 459.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3005, allocations: 0.8254 MB / 460.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3005, allocations: 29.7 kB / 460.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.301, allocations: 0.5889 MB / 460.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3011, allocations: 127 kB / 461 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3013, allocations: 126.6 kB / 461.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.3016, allocations: 330 kB / 461.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.3019, allocations: 149.9 kB / 461.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.3025, allocations: 460 kB / 462 MB, free: 8.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3035, allocations: 0.6512 MB / 462.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3035, allocations: 4 kB / 462.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001389/0.3049, allocations: 0.6925 MB / 463.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3049, allocations: 10.34 kB / 463.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.3049, allocations: 12 kB / 463.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3051, allocations: 29.38 kB / 463.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.3057, allocations: 163.8 kB / 463.6 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.307, allocations: 1.283 MB / 464.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.3076, allocations: 39.92 kB / 464.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3076, allocations: 32 kB / 464.9 MB, free: 5.34 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.0004362/0.3081, allocations: 261.9 kB / 465.2 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3082, allocations: 95.38 kB / 465.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.3091, allocations: 378.2 kB / 465.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3091, allocations: 4 kB / 465.7 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3091, allocations: 0 / 465.7 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3091, allocations: 3.984 kB / 465.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.3114, allocations: 1.238 MB / 466.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3114, allocations: 4.219 kB / 466.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.3117, allocations: 79.84 kB / 467 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.3118, allocations: 24.84 kB / 467 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.3119, allocations: 8 kB / 467 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.313, allocations: 1.275 MB / 468.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.313, allocations: 4.031 kB / 468.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3141, allocations: 0.6285 MB / 468.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.3145, allocations: 119.4 kB / 469 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.3146, allocations: 8 kB / 469 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.315, allocations: 27.91 kB / 469.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.3151, allocations: 31.89 kB / 469.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.3151, allocations: 16 kB / 469.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009006/0.316, allocations: 0.5615 MB / 469.7 MB, free: 344 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.316, allocations: 0 / 469.7 MB, free: 344 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008176/0.3168, allocations: 188 kB / 469.9 MB, free: 156 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.0002248/0.3171, allocations: 123.1 kB / 470 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3182, allocations: 0.496 MB / 470.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3182, allocations: 0 / 470.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3187, allocations: 255.6 kB / 470.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3198, allocations: 233.3 kB / 471 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.323, allocations: 1.703 MB / 472.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.3237, allocations: 0.9962 MB / 473.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004168/0.3242, allocations: 102.9 kB / 473.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3243, allocations: 51.44 kB / 473.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3243, allocations: 3.938 kB / 473.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.02165/0.3459, allocations: 10.11 MB / 483.9 MB, free: 2.086 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.8609570832923055]