Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001706/0.001706, allocations: 89.84 kB / 20.69 MB, free: 1.02 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.001948/0.001948, allocations: 159.2 kB / 23.95 MB, free: 4.152 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.484/1.484, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.419e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003432/0.003456, allocations: 2.251 MB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.00467, allocations: 0.6324 MB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.0048, allocations: 7.531 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.004954, allocations: 36.55 kB / 327.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.005129, allocations: 82.14 kB / 328 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.0054, allocations: 62.83 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.005739, allocations: 265.7 kB / 328.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.005894, allocations: 65.95 kB / 328.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.006182, allocations: 162.2 kB / 328.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.00633, allocations: 75 kB / 328.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.006364, allocations: 18.59 kB / 328.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.006434, allocations: 27.34 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.006482, allocations: 44.16 kB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.006591, allocations: 87.55 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.006938, allocations: 247.6 kB / 329 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.006941, allocations: 0 / 329 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006942, allocations: 0 / 329 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006948, allocations: 0 / 329 MB, free: 13.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007462/0.007694, allocations: 452.8 kB / 329.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.007729, allocations: 13.3 kB / 329.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.007894, allocations: 41.78 kB / 329.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.00822, allocations: 182.2 kB / 329.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.008243, allocations: 16.62 kB / 329.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.008284, allocations: 23.58 kB / 329.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.00867, allocations: 207.4 kB / 330 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.008687, allocations: 3.109 kB / 330 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.008707, allocations: 5.5 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.008717, allocations: 9.219 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.009009, allocations: 134 kB / 330.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.01, allocations: 0.5846 MB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.01029, allocations: 145.3 kB / 330.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.01043, allocations: 64.06 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01045, allocations: 6.953 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.01048, allocations: 33.22 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.01048, allocations: 0 / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001621/0.01211, allocations: 0.7369 MB / 331.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.01216, allocations: 57.73 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.01232, allocations: 163.2 kB / 331.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01234, allocations: 26.86 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01245, allocations: 146.8 kB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.01253, allocations: 92.92 kB / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01261, allocations: 54.41 kB / 332.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.01277, allocations: 335.1 kB / 332.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.0129, allocations: 54.91 kB / 332.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.01305, allocations: 104.8 kB / 332.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.01336, allocations: 170.9 kB / 332.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01336, allocations: 1.562 kB / 332.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004817/0.01384, allocations: 258.1 kB / 333.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01386, allocations: 14.42 kB / 333.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01387, allocations: 1.094 kB / 333.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.01403, allocations: 30.31 kB / 333.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.01424, allocations: 51.28 kB / 333.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.01557, allocations: 1.352 MB / 334.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01569, allocations: 7.781 kB / 334.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.01571, allocations: 10.34 kB / 334.6 MB, free: 9.598 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.01585, allocations: 140.1 kB / 334.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.0159, allocations: 24.48 kB / 334.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.01596, allocations: 26.14 kB / 334.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01596, allocations: 2.625 kB / 334.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01596, allocations: 5.344 kB / 334.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01597, allocations: 0 / 334.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.01689, allocations: 0.5581 MB / 335.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01689, allocations: 1.062 kB / 335.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.01711, allocations: 41.86 kB / 335.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.01724, allocations: 41.72 kB / 335.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.01726, allocations: 14.2 kB / 335.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.01851, allocations: 1.346 MB / 336.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01851, allocations: 1.375 kB / 336.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.01914, allocations: 404.4 kB / 337.2 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.01918, allocations: 16.92 kB / 337.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.01921, allocations: 19.06 kB / 337.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.01934, allocations: 7.688 kB / 337.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.0194, allocations: 18.12 kB / 337.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01941, allocations: 4.75 kB / 337.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.01951, allocations: 125 kB / 337.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01951, allocations: 0 / 337.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.01985, allocations: 57.91 kB / 337.4 MB, free: 7.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.01999, allocations: 106.2 kB / 337.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.02054, allocations: 272.1 kB / 337.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02055, allocations: 1.438 kB / 337.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.02089, allocations: 216 kB / 338 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.02131, allocations: 51.44 kB / 338 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.02248, allocations: 0.5684 MB / 338.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.02263, allocations: 147.1 kB / 338.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.0227, allocations: 20.48 kB / 338.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.02276, allocations: 19.56 kB / 338.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02276, allocations: 3.938 kB / 338.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of Templates: time 0.006626/0.02938, allocations: 2.452 MB / 341.2 MB, free: 4.219 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.371603466570377]