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.002413/0.002413, allocations: 87.62 kB / 20.96 MB, free: 3.312 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.002761/0.002761, allocations: 156.9 kB / 24.27 MB, free: 8 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.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.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.784e-06/1.784e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.244e-05, allocations: 15.52 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00573/0.005762, allocations: 2.405 MB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.006491, allocations: 239.1 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.006643, allocations: 11.94 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.006846, allocations: 39.58 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.007109, allocations: 91.19 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.007348, allocations: 59.91 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.007845, allocations: 302.4 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.008209, allocations: 69.98 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.00854, allocations: 167.6 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.008801, allocations: 95.69 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.008862, allocations: 20 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.008935, allocations: 28 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.00901, allocations: 47.83 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.009185, allocations: 95.75 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.009732, allocations: 291 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009736, allocations: 0 / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009737, allocations: 0 / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.009743, allocations: 0 / 276.1 MB, free: 13.87 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.001273/0.01102, allocations: 0.5893 MB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.01107, allocations: 15.98 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.01122, allocations: 48.75 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.01163, allocations: 188.9 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.01167, allocations: 20.88 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.01175, allocations: 28.33 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.01244, allocations: 255.6 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.01247, allocations: 192 / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.01251, allocations: 12.38 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.01252, allocations: 8.375 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.013, allocations: 159.8 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.0148, allocations: 0.8603 MB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.01566, allocations: 301.2 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/0.01607, allocations: 135 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.01612, allocations: 16.09 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.01617, allocations: 45.31 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.01617, allocations: 4 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004258/0.02043, allocations: 1.575 MB / 280.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.02055, allocations: 110.8 kB / 280.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.02088, allocations: 245.8 kB / 280.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.02092, allocations: 37.7 kB / 280.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.02113, allocations: 195.5 kB / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.02135, allocations: 178.5 kB / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.02155, allocations: 87.86 kB / 281.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004124/0.02196, allocations: 0.5235 MB / 281.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.02223, allocations: 92.91 kB / 281.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.02264, allocations: 190.7 kB / 282 MB, free: 7.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.02337, allocations: 317.5 kB / 282.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02337, allocations: 4 kB / 282.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001052/0.02442, allocations: 357.2 kB / 282.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.02445, allocations: 8 kB / 282.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.02445, allocations: 0 / 282.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.02448, allocations: 4 kB / 282.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.02504, allocations: 95.84 kB / 282.8 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.02506, allocations: 7.922 kB / 282.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.02524, allocations: 12 kB / 282.8 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.02528, allocations: 16.05 kB / 282.8 MB, free: 6.703 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 0.0002724/0.02556, allocations: 196.6 kB / 283 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.02572, allocations: 43.84 kB / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.02589, allocations: 37.8 kB / 283.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.02589, allocations: 4 kB / 283.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.02591, allocations: 0 / 283.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.02592, allocations: 7.938 kB / 283.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.02845, allocations: 1.168 MB / 284.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.02845, allocations: 0 / 284.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.02906, allocations: 87.89 kB / 284.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.02907, allocations: 4 kB / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.02911, allocations: 12 kB / 284.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.02913, allocations: 11.94 kB / 284.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.02913, allocations: 0 / 284.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.03064, allocations: 0.8994 MB / 285.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.03072, allocations: 27.86 kB / 285.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.03077, allocations: 12.06 kB / 285.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.03107, allocations: 15.98 kB / 285.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.03116, allocations: 39.83 kB / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.03119, allocations: 12 kB / 285.4 MB, free: 3.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.03137, allocations: 172.2 kB / 285.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03137, allocations: 0 / 285.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006877/0.03206, allocations: 72 kB / 285.6 MB, free: 3.738 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.0001886/0.03225, allocations: 119.1 kB / 285.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007197/0.03297, allocations: 284.2 kB / 286 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.03297, allocations: 0 / 286 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.03334, allocations: 159.4 kB / 286.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.03451, allocations: 83.44 kB / 286.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.03663, allocations: 0.8234 MB / 287.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.03691, allocations: 160 kB / 287.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.03708, allocations: 34.95 kB / 287.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.03719, allocations: 28.5 kB / 287.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03719, allocations: 0 / 287.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of Templates: time 0.01141/0.0486, allocations: 2.946 MB / 290.2 MB, free: 15.06 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.452610851032659]