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.001792/0.001792, allocations: 114.5 kB / 18.45 MB, free: 4.602 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.002104/0.002104, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.414/1.414, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.001535/0.001535, allocations: 55.91 kB / 366.8 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.09057, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009562/0.1001, allocations: 8.018 MB / 427 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.1046, allocations: 2.606 MB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.1054, allocations: 23.94 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1068, allocations: 0.556 MB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.108, allocations: 496.3 kB / 430.6 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1085, allocations: 247.7 kB / 430.9 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1102, allocations: 1.44 MB / 432.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.1108, allocations: 398.8 kB / 432.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.1115, allocations: 0.5408 MB / 433.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.1123, allocations: 0.5833 MB / 433.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.1124, allocations: 136 kB / 434 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.1128, allocations: 184 kB / 434.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.113, allocations: 271 kB / 434.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.1136, allocations: 0.6415 MB / 435.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1155, allocations: 1.716 MB / 436.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1155, allocations: 0 / 436.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1155, allocations: 0 / 436.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.1155, allocations: 0 / 436.8 MB, free: 10.17 MB / 366.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.002392/0.1179, allocations: 1.455 MB / 438.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1179, allocations: 12.03 kB / 438.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000556/0.1185, allocations: 180 kB / 438.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1196, allocations: 0.7345 MB / 439.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.1197, allocations: 74 kB / 439.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.1198, allocations: 99.94 kB / 439.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.1214, allocations: 0.9268 MB / 440.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.1215, allocations: 3.953 kB / 440.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.1215, allocations: 48 kB / 440.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.1216, allocations: 24 kB / 440.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1228, allocations: 0.6246 MB / 440.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.1279, allocations: 3.875 MB / 444.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.1285, allocations: 342.1 kB / 445.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1288, allocations: 137.3 kB / 445.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1288, allocations: 7.984 kB / 445.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1288, allocations: 34.56 kB / 445.3 MB, free: 1.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.1288, allocations: 0 / 445.3 MB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.1911/0.3199, allocations: 1.207 MB / 446.5 MB, free: 30.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3199, allocations: 83.11 kB / 446.6 MB, free: 29.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3211, allocations: 0.8215 MB / 447.4 MB, free: 29.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.3212, allocations: 36.69 kB / 447.5 MB, free: 29.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.3215, allocations: 0.5792 MB / 448.1 MB, free: 29.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.3216, allocations: 135 kB / 448.2 MB, free: 29.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3217, allocations: 126 kB / 448.3 MB, free: 29.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.3218, allocations: 332.4 kB / 448.6 MB, free: 29.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.3221, allocations: 149.2 kB / 448.8 MB, free: 29.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.3225, allocations: 459.5 kB / 449.2 MB, free: 28.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.3233, allocations: 0.6381 MB / 449.9 MB, free: 28.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3233, allocations: 3.938 kB / 449.9 MB, free: 28.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001141/0.3244, allocations: 0.6909 MB / 450.6 MB, free: 28.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3244, allocations: 9.422 kB / 450.6 MB, free: 28.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3244, allocations: 10.22 kB / 450.6 MB, free: 28.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.3246, allocations: 37.61 kB / 450.6 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3251, allocations: 152.8 kB / 450.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007834/0.3259, allocations: 1.391 MB / 452.2 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.3264, allocations: 38.94 kB / 452.2 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.3265, allocations: 35.66 kB / 452.2 MB, free: 27.11 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.0003328/0.3268, allocations: 263.2 kB / 452.5 MB, free: 26.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3269, allocations: 84.67 kB / 452.6 MB, free: 26.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.3276, allocations: 376.1 kB / 452.9 MB, free: 26.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3276, allocations: 8.328 kB / 452.9 MB, free: 26.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3276, allocations: 0 / 452.9 MB, free: 26.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3276, allocations: 3.188 kB / 453 MB, free: 26.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.3295, allocations: 1.268 MB / 454.2 MB, free: 26.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3295, allocations: 1.125 kB / 454.2 MB, free: 26.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.3298, allocations: 73.03 kB / 454.3 MB, free: 26.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-05/0.3299, allocations: 22.61 kB / 454.3 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.33, allocations: 16.09 kB / 454.3 MB, free: 26.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000685/0.3306, allocations: 1.374 MB / 455.7 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3306, allocations: 6.406 kB / 455.7 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.3316, allocations: 0.6355 MB / 456.3 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.3319, allocations: 195.5 kB / 456.5 MB, free: 24.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.332, allocations: 12.45 kB / 456.5 MB, free: 24.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.3323, allocations: 25.66 kB / 456.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.3324, allocations: 30.05 kB / 456.6 MB, free: 24.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3325, allocations: 13.22 kB / 456.6 MB, free: 24.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007761/0.3332, allocations: 0.5597 MB / 457.2 MB, free: 24.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3332, allocations: 0 / 457.2 MB, free: 24.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.3341, allocations: 190.3 kB / 457.4 MB, free: 24.14 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.0002097/0.3343, allocations: 121.5 kB / 457.5 MB, free: 24.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3354, allocations: 0.4975 MB / 458 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3354, allocations: 1.844 kB / 458 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.3358, allocations: 261.4 kB / 458.2 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3368, allocations: 209.3 kB / 458.4 MB, free: 23.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.3394, allocations: 1.762 MB / 460.2 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3399, allocations: 0.9915 MB / 461.2 MB, free: 21.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3401, allocations: 61.03 kB / 461.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3401, allocations: 1.344 kB / 461.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of Templates: time 0.02381/0.3639, allocations: 15.9 MB / 477.2 MB, free: 15.72 MB / 366.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_2/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_2/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.670831819996238]