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.0008806/0.0008806, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008238/0.0008238, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 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.9201/0.9201, allocations: 173.4 MB / 201.5 MB, free: 8.738 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 3.226e-06/3.226e-06, allocations: 4 kB / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.738e-05, allocations: 2.312 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00326/0.003277, allocations: 2.37 MB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.004194, allocations: 0.588 MB / 271.4 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004313, allocations: 8 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.004459, allocations: 43.58 kB / 271.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.00463, allocations: 87.2 kB / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.00481, allocations: 51.91 kB / 271.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005086, allocations: 274.6 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.005251, allocations: 82.73 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.005465, allocations: 159.5 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005608, allocations: 99.69 kB / 272.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.005647, allocations: 20 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-05/0.005678, allocations: 20 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.005721, allocations: 47.83 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.005806, allocations: 87.77 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.006023, allocations: 171.4 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.006025, allocations: 0 / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006026, allocations: 0 / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.006029, allocations: 0 / 272.5 MB, free: 1.918 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.0005221/0.006551, allocations: 444.1 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.006583, allocations: 12.03 kB / 273 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.006642, allocations: 32.91 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.006836, allocations: 158.2 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.006854, allocations: 12.88 kB / 273.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.006892, allocations: 24.38 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.007102, allocations: 161.2 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.007117, allocations: 8.141 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.007138, allocations: 12.38 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.007147, allocations: 7.938 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.007248, allocations: 55.47 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.007859, allocations: 406 kB / 273.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.008027, allocations: 114 kB / 274 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.008095, allocations: 48.84 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.008116, allocations: 8 kB / 274 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.008137, allocations: 34.55 kB / 274 MB, free: 324 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.492e-06/0.008138, allocations: 4 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001241/0.009379, allocations: 0.7264 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.009406, allocations: 55.41 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.009512, allocations: 159.5 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.00953, allocations: 33.7 kB / 275 MB, free: 15.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.009591, allocations: 132.7 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.009667, allocations: 122.9 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.009737, allocations: 57.67 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.009827, allocations: 330.8 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.009874, allocations: 23.98 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.01009, allocations: 74.48 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01023, allocations: 108.1 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01023, allocations: 0 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002495/0.01048, allocations: 175.3 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.0105, allocations: 7.984 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.0105, allocations: 0 / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.01063, allocations: 40.83 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01081, allocations: 59.91 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009445/0.01176, allocations: 1.43 MB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.01183, allocations: 8 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01185, allocations: 4 kB / 277.6 MB, free: 12.58 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 8.715e-05/0.01193, allocations: 133.8 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.01198, allocations: 23.98 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01203, allocations: 30.64 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01203, allocations: 3.938 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01203, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01203, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.01268, allocations: 496.8 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01269, allocations: 0 / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.01289, allocations: 59.91 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-05/0.01299, allocations: 36.8 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.013, allocations: 4 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000698/0.0137, allocations: 1.229 MB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.0137, allocations: 3.938 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.01402, allocations: 322.7 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01405, allocations: 19.83 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01407, allocations: 11.94 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01417, allocations: 8 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01421, allocations: 23.95 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01422, allocations: 4 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.01427, allocations: 52.81 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01427, allocations: 0 / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.01459, allocations: 64 kB / 280.1 MB, free: 9.895 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 8.439e-05/0.01468, allocations: 88.36 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.015, allocations: 263.8 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01501, allocations: 0 / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.0152, allocations: 215.4 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01548, allocations: 54.98 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.01639, allocations: 0.5467 MB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.01646, allocations: 88.69 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.01653, allocations: 26.27 kB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.01665, allocations: 99.3 kB / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01665, allocations: 0 / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005896/0.02254, allocations: 2.889 MB / 284.3 MB, free: 5.582 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.673268909100443]