Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 166.2 kB / 25 MB, free: 8.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.29e-05, allocations: 2.312 kB / 273 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002541/0.002564, allocations: 2.427 MB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.002949, allocations: 239.1 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.003041, allocations: 7.938 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.00317, allocations: 43.58 kB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003276, allocations: 91.14 kB / 275.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.003414, allocations: 63.83 kB / 275.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.003624, allocations: 302.4 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.003771, allocations: 66.91 kB / 276.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.003901, allocations: 171.6 kB / 276.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004015, allocations: 87.75 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.004048, allocations: 24 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.448e-05/0.004072, allocations: 20 kB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.004107, allocations: 51.77 kB / 276.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.004176, allocations: 91.83 kB / 276.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004366, allocations: 199.2 kB / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004368, allocations: 0 / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004369, allocations: 0 / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.004374, allocations: 0 / 276.9 MB, free: 13.96 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.0005089/0.004883, allocations: 0.5702 MB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.004915, allocations: 8.031 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.004982, allocations: 48.75 kB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.005178, allocations: 192.9 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.005192, allocations: 20.88 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.005228, allocations: 24.38 kB / 277.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.005469, allocations: 211.6 kB / 278 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.005482, allocations: 192 / 278 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.0055, allocations: 12.38 kB / 278 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.00551, allocations: 4.375 kB / 278 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.005664, allocations: 114.2 kB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.006527, allocations: 0.7899 MB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.006878, allocations: 249.2 kB / 279.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.007023, allocations: 99.02 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.007037, allocations: 11.88 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.00706, allocations: 41.39 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.007061, allocations: 0 / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001509/0.00857, allocations: 1.398 MB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.008615, allocations: 110.8 kB / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.008729, allocations: 229.7 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.008747, allocations: 37.7 kB / 281 MB, free: 9.406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.008819, allocations: 191.4 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.008895, allocations: 166.6 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.008966, allocations: 79.81 kB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.009085, allocations: 0.5079 MB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.009164, allocations: 48.95 kB / 282 MB, free: 8.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.009278, allocations: 150.8 kB / 282.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.009501, allocations: 227.8 kB / 282.4 MB, free: 7.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009504, allocations: 4 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000307/0.009811, allocations: 289.2 kB / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.009829, allocations: 4 kB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.009837, allocations: 4 kB / 282.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.009857, allocations: 4.094 kB / 282.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.01006, allocations: 99.83 kB / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01007, allocations: 7.938 kB / 282.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.01013, allocations: 8 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01015, allocations: 16 kB / 282.8 MB, free: 7.543 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.635e-05/0.01024, allocations: 176.5 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.0103, allocations: 51.8 kB / 283 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.01036, allocations: 33.81 kB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01036, allocations: 4 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01036, allocations: 3.938 kB / 283.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01037, allocations: 11.92 kB / 283.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.01121, allocations: 1.027 MB / 284.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01121, allocations: 4 kB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.01142, allocations: 87.91 kB / 284.2 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.01142, allocations: 8.266 kB / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.01144, allocations: 15.94 kB / 284.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01144, allocations: 4 kB / 284.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.01145, allocations: 4 kB / 284.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.01195, allocations: 0.7897 MB / 285 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.01198, allocations: 23.84 kB / 285.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.012, allocations: 16 kB / 285.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01211, allocations: 8 kB / 285.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.01215, allocations: 39.81 kB / 285.1 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.01232, allocations: 20 kB / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.01238, allocations: 156.2 kB / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01238, allocations: 0 / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01266, allocations: 72 kB / 285.4 MB, free: 4.84 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 0.0001018/0.01276, allocations: 111.1 kB / 285.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.01303, allocations: 220.3 kB / 285.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01303, allocations: 0 / 285.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01314, allocations: 131.4 kB / 285.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.01359, allocations: 64.62 kB / 285.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.01445, allocations: 0.7923 MB / 286.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.01452, allocations: 97.28 kB / 286.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.0146, allocations: 26.97 kB / 286.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.01465, allocations: 28.5 kB / 286.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01465, allocations: 0 / 286.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of Templates: time 0.005086/0.01974, allocations: 2.961 MB / 289.8 MB, free: 368 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6420845459215343]