Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001369/0.001369, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001337/0.001337, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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 0.909/0.909, allocations: 173.3 MB / 201.1 MB, free: 9.359 MB / 186.7 MB " [Timeout remaining time 179] 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.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.011e-05, allocations: 2.312 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002587/0.002608, allocations: 2.399 MB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.003397, allocations: 0.5765 MB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.00351, allocations: 7.938 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.003642, allocations: 35.59 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.003778, allocations: 87.27 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.003954, allocations: 51.86 kB / 271.1 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.004187, allocations: 290.5 kB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.004343, allocations: 72.12 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.004507, allocations: 155.7 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004617, allocations: 87.7 kB / 271.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.004647, allocations: 20 kB / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.004679, allocations: 24 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.004713, allocations: 47.77 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.004779, allocations: 87.81 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.004972, allocations: 175.3 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004974, allocations: 4 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004974, allocations: 0 / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004979, allocations: 4 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005043/0.005483, allocations: 0.5507 MB / 272.6 MB, free: 1.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.00552, allocations: 8.031 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.005581, allocations: 44.8 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.005784, allocations: 180.9 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.0058, allocations: 16.88 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.005838, allocations: 24.38 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.00605, allocations: 165.4 kB / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.006061, allocations: 192 / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.006078, allocations: 12.38 kB / 273.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.006087, allocations: 7.938 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.006205, allocations: 82.92 kB / 273.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.00681, allocations: 0.5404 MB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.006992, allocations: 135 kB / 273.8 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.007075, allocations: 75.58 kB / 273.9 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.007094, allocations: 4 kB / 273.9 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.007114, allocations: 33.39 kB / 273.9 MB, free: 348 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.007116, allocations: 4 kB / 273.9 MB, free: 344 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001084/0.0082, allocations: 0.7967 MB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.008228, allocations: 59.34 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.008341, allocations: 218.8 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008355, allocations: 37.7 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.00857, allocations: 183.5 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.008629, allocations: 123 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.008687, allocations: 59.36 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.008793, allocations: 0.5039 MB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.008853, allocations: 35.97 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.00894, allocations: 90.75 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.009096, allocations: 140.7 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009097, allocations: 4 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002615/0.009359, allocations: 238.1 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.009373, allocations: 11.94 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009377, allocations: 0 / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.009516, allocations: 39.66 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.009669, allocations: 59.91 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.01076, allocations: 2.118 MB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.01083, allocations: 8.188 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01084, allocations: 12 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.649e-05/0.01094, allocations: 164.6 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.01097, allocations: 31.86 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.01101, allocations: 34.64 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01101, allocations: 11.97 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01102, allocations: 3.938 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01102, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.01162, allocations: 0.6669 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01162, allocations: 0 / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.01176, allocations: 59.97 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-05/0.01184, allocations: 39.69 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01185, allocations: 8 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007711/0.01263, allocations: 1.814 MB / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01263, allocations: 0 / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.01299, allocations: 454.3 kB / 281.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.01301, allocations: 11.91 kB / 281.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.01302, allocations: 8 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.01309, allocations: 11.98 kB / 282 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.01314, allocations: 27.89 kB / 282 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01315, allocations: 8 kB / 282 MB, free: 7.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.01322, allocations: 159.1 kB / 282.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01322, allocations: 0 / 282.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.01346, allocations: 64 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0002665/0.01372, allocations: 115.1 kB / 282.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.01414, allocations: 349.7 kB / 282.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01414, allocations: 3.938 kB / 282.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.01434, allocations: 285.3 kB / 282.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01465, allocations: 48.28 kB / 283 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.01573, allocations: 0.6307 MB / 283.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.335e-05/0.01581, allocations: 88.69 kB / 283.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.01587, allocations: 18.3 kB / 283.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.01592, allocations: 24.5 kB / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01592, allocations: 0 / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Templates: time 0.004382/0.0203, allocations: 2.707 MB / 286.5 MB, free: 3.215 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8251336570829153]