Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001331/0.001331, allocations: 85.67 kB / 21.43 MB, free: 296 kB / 14.72 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.001486/0.001486, allocations: 163.2 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 158.6 MB / 186.5 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.319e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003904/0.003937, allocations: 2.241 MB / 301.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004905/0.004428, allocations: 231.1 kB / 301.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.004542, allocations: 7.938 kB / 301.4 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.004708, allocations: 43.58 kB / 301.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.004878, allocations: 91.2 kB / 301.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.005055, allocations: 59.89 kB / 301.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.00541, allocations: 302.4 kB / 301.9 MB, free: 5.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.005602, allocations: 70.03 kB / 302 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.005802, allocations: 159.7 kB / 302.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.005969, allocations: 95.69 kB / 302.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.006012, allocations: 24 kB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.00606, allocations: 24 kB / 302.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.00611, allocations: 43.83 kB / 302.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.006224, allocations: 99.7 kB / 302.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.006584, allocations: 295 kB / 302.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.006588, allocations: 0 / 302.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006588, allocations: 0 / 302.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.006596, allocations: 7.922 kB / 302.7 MB, free: 4.961 MB / 286.1 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.0008172/0.007413, allocations: 481.5 kB / 303.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007453, allocations: 15.98 kB / 303.2 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.007519, allocations: 28.75 kB / 303.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.007829, allocations: 182 kB / 303.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.007855, allocations: 16.88 kB / 303.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.007903, allocations: 28.36 kB / 303.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.008302, allocations: 243.2 kB / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.008326, allocations: 16.06 kB / 303.7 MB, free: 3.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.008351, allocations: 12.38 kB / 303.7 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.008359, allocations: 4.375 kB / 303.7 MB, free: 3.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.00866, allocations: 159.8 kB / 303.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.009663, allocations: 0.6602 MB / 304.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.01018, allocations: 279.6 kB / 304.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.01042, allocations: 118.8 kB / 304.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.01045, allocations: 11.94 kB / 304.9 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.01048, allocations: 42.56 kB / 305 MB, free: 2.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.01048, allocations: 3.938 kB / 305 MB, free: 2.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.00258/0.01306, allocations: 1.498 MB / 306.5 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.01315, allocations: 118.8 kB / 306.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.01332, allocations: 171.1 kB / 306.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.01335, allocations: 37.7 kB / 306.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.01345, allocations: 140.8 kB / 306.9 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.01358, allocations: 166.5 kB / 307.1 MB, free: 224 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01369, allocations: 78.14 kB / 307.2 MB, free: 136 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01385, allocations: 334.8 kB / 307.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.01402, allocations: 96.95 kB / 307.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.01423, allocations: 155 kB / 307.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.01464, allocations: 277.8 kB / 308 MB, free: 15.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01465, allocations: 3.938 kB / 308 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005121/0.01516, allocations: 341.3 kB / 308.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01517, allocations: 4 kB / 308.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01518, allocations: 4 kB / 308.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.0152, allocations: 4 kB / 308.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.01553, allocations: 91.89 kB / 308.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.01555, allocations: 15.86 kB / 308.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01565, allocations: 12.09 kB / 308.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.01568, allocations: 16 kB / 308.5 MB, free: 14.75 MB / 302.1 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.0001485/0.01583, allocations: 145.8 kB / 308.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.01592, allocations: 31.81 kB / 308.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.01601, allocations: 37.8 kB / 308.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.01602, allocations: 4 kB / 308.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.01603, allocations: 0 / 308.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.01604, allocations: 3.938 kB / 308.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.01738, allocations: 0.9372 MB / 309.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.01739, allocations: 4 kB / 309.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.01775, allocations: 87.84 kB / 309.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.01776, allocations: 4 kB / 309.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.01779, allocations: 16 kB / 309.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.0178, allocations: 11.92 kB / 309.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.0178, allocations: 8.281 kB / 309.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.01866, allocations: 0.7103 MB / 310.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.0187, allocations: 27.88 kB / 310.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.01874, allocations: 15.98 kB / 310.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.01898, allocations: 8.094 kB / 310.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.01904, allocations: 43.77 kB / 310.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.01906, allocations: 12 kB / 310.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.01916, allocations: 127.5 kB / 310.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01916, allocations: 0 / 310.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000425/0.01959, allocations: 72 kB / 310.8 MB, free: 12.33 MB / 302.1 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.0001519/0.01974, allocations: 111.2 kB / 310.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004461/0.02019, allocations: 256 kB / 311.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02019, allocations: 0 / 311.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.02041, allocations: 132.5 kB / 311.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.02115, allocations: 80.83 kB / 311.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.02255, allocations: 0.7696 MB / 312.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.02273, allocations: 159.8 kB / 312.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.02284, allocations: 30.95 kB / 312.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.02292, allocations: 28.5 kB / 312.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.02292, allocations: 4 kB / 312.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Templates: time 0.007495/0.03042, allocations: 2.921 MB / 315.3 MB, free: 7.77 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.492424380034208]