Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.0009731/0.0009731, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009974/0.0009974, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.484e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002836/0.002861, allocations: 2.428 MB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.003488, allocations: 243.1 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.003607, allocations: 7.938 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.003746, allocations: 43.52 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.003882, allocations: 91.2 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.004059, allocations: 59.84 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.004313, allocations: 302.5 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.004481, allocations: 66.61 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.004629, allocations: 171.6 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.004758, allocations: 83.77 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.004792, allocations: 31.94 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.847e-05/0.004821, allocations: 20 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.004859, allocations: 55.75 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.004929, allocations: 91.83 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005155, allocations: 191.2 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005158, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005159, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.005165, allocations: 3.984 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005624/0.005727, allocations: 0.5702 MB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.005766, allocations: 11.98 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.005836, allocations: 52.75 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.006043, allocations: 184.9 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.006065, allocations: 16.88 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.006112, allocations: 32.34 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.006386, allocations: 203.6 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.006406, allocations: 8.172 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.006426, allocations: 12.38 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.006438, allocations: 4.375 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.006602, allocations: 115.7 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.00738, allocations: 0.7899 MB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.007747, allocations: 249.3 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.007897, allocations: 99.02 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.007914, allocations: 11.94 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.008096, allocations: 45.33 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.008098, allocations: 0 / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001553/0.009651, allocations: 1.402 MB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.009704, allocations: 114.8 kB / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.009846, allocations: 229.7 kB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.009865, allocations: 33.7 kB / 280.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.009958, allocations: 191.5 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.01005, allocations: 158.6 kB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.01012, allocations: 83.8 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01026, allocations: 0.504 MB / 281.8 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.01034, allocations: 60.89 kB / 281.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01046, allocations: 134.8 kB / 282 MB, free: 7.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01068, allocations: 228 kB / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.01068, allocations: 4 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003056/0.01099, allocations: 285.2 kB / 282.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.011, allocations: 4 kB / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.01101, allocations: 4 kB / 282.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01103, allocations: 4 kB / 282.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.01122, allocations: 91.89 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01123, allocations: 11.88 kB / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.01128, allocations: 12 kB / 282.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.0113, allocations: 20.09 kB / 282.7 MB, free: 7.156 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.01139, allocations: 176.5 kB / 282.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.01145, allocations: 47.81 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.0115, allocations: 33.8 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01151, allocations: 4 kB / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01151, allocations: 0 / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.01152, allocations: 7.922 kB / 282.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.01232, allocations: 1.047 MB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01232, allocations: 4 kB / 284 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.01251, allocations: 79.91 kB / 284.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01251, allocations: 8 kB / 284.1 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01253, allocations: 12 kB / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01254, allocations: 11.92 kB / 284.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01254, allocations: 4.281 kB / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.01304, allocations: 0.7936 MB / 284.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01307, allocations: 23.84 kB / 284.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01309, allocations: 12 kB / 284.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01319, allocations: 12 kB / 284.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.01323, allocations: 35.83 kB / 285 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01324, allocations: 16 kB / 285 MB, free: 4.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.778e-05/0.01331, allocations: 160.2 kB / 285.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 285.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01358, allocations: 72 kB / 285.2 MB, free: 4.453 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.02e-05/0.01367, allocations: 111.1 kB / 285.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01394, allocations: 216.3 kB / 285.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01394, allocations: 4 kB / 285.5 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01405, allocations: 116.1 kB / 285.7 MB, free: 4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.01447, allocations: 78.11 kB / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.01533, allocations: 0.7959 MB / 286.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.0154, allocations: 93.28 kB / 286.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.01548, allocations: 34.97 kB / 286.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.01553, allocations: 28.5 kB / 286.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01553, allocations: 0 / 286.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of Templates: time 0.004637/0.02017, allocations: 2.962 MB / 289.6 MB, free: 15.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.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.865222468972206]