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.001167/0.001167, allocations: 84.98 kB / 23 MB, free: 1.496 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.001066/0.001066, allocations: 175.6 kB / 26.4 MB, free: 8.117 MB / 18.57 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 0.9568/0.9568, allocations: 158.6 MB / 188.3 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.323e-06/1.323e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.009e-05, allocations: 2.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002544/0.002574, allocations: 2.379 MB / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000427/0.003001, allocations: 235.1 kB / 254.8 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.003116, allocations: 7.938 kB / 254.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003247, allocations: 43.58 kB / 254.9 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.00337, allocations: 95.12 kB / 255 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.003516, allocations: 55.91 kB / 255 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.003747, allocations: 306.5 kB / 255.3 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.00392, allocations: 66.05 kB / 255.4 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.004066, allocations: 167.7 kB / 255.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.004185, allocations: 91.75 kB / 255.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.004216, allocations: 24 kB / 255.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.004239, allocations: 20 kB / 255.7 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.004275, allocations: 51.77 kB / 255.8 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.004376, allocations: 95.81 kB / 255.8 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.004569, allocations: 191.2 kB / 256 MB, free: 3.438 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004573, allocations: 0 / 256 MB, free: 3.438 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004574, allocations: 0 / 256 MB, free: 3.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004578, allocations: 0 / 256 MB, free: 3.438 MB / 234.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.000513/0.005091, allocations: 0.5779 MB / 256.6 MB, free: 2.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.005122, allocations: 11.98 kB / 256.6 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.005183, allocations: 52.75 kB / 256.7 MB, free: 2.758 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.005458, allocations: 192.8 kB / 256.9 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.005476, allocations: 16.88 kB / 256.9 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.005512, allocations: 28.36 kB / 256.9 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.005711, allocations: 191.5 kB / 257.1 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.005726, allocations: 8.141 kB / 257.1 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.005744, allocations: 12.38 kB / 257.1 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.005752, allocations: 8.359 kB / 257.1 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.005855, allocations: 87.75 kB / 257.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.006491, allocations: 0.7671 MB / 258 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.006759, allocations: 229 kB / 258.2 MB, free: 1.109 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006869, allocations: 95 kB / 258.3 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.006883, allocations: 4 kB / 258.3 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.006915, allocations: 49.27 kB / 258.3 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.006917, allocations: 0 / 258.3 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001503/0.00842, allocations: 1.258 MB / 259.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.008465, allocations: 114.8 kB / 259.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.008567, allocations: 217.8 kB / 259.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.008585, allocations: 33.7 kB / 260 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.008672, allocations: 195.5 kB / 260.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.008758, allocations: 170.5 kB / 260.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.008842, allocations: 83.8 kB / 260.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.008985, allocations: 0.5078 MB / 260.9 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.009038, allocations: 40.97 kB / 260.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.009129, allocations: 134.6 kB / 261.1 MB, free: 13.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.009302, allocations: 194.9 kB / 261.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009304, allocations: 0 / 261.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002518/0.009556, allocations: 269 kB / 261.5 MB, free: 13.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.009571, allocations: 8 kB / 261.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009577, allocations: 0 / 261.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.009588, allocations: 4 kB / 261.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.009776, allocations: 87.95 kB / 261.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.009781, allocations: 0 / 261.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.009847, allocations: 28 kB / 261.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.00986, allocations: 12 kB / 261.7 MB, free: 13.31 MB / 250.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.0003601/0.01022, allocations: 180.5 kB / 261.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.01029, allocations: 43.81 kB / 261.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.01034, allocations: 33.81 kB / 261.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01034, allocations: 4 kB / 261.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01035, allocations: 4 kB / 261.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01035, allocations: 3.984 kB / 261.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.01114, allocations: 0.9848 MB / 262.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01114, allocations: 4 kB / 262.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.01134, allocations: 91.89 kB / 263 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01135, allocations: 4 kB / 263 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01136, allocations: 12 kB / 263 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.01137, allocations: 4.281 kB / 263 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.01137, allocations: 11.94 kB / 263 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.01184, allocations: 0.7627 MB / 263.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.01187, allocations: 19.86 kB / 263.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.01189, allocations: 15.98 kB / 263.8 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.01201, allocations: 12 kB / 263.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01204, allocations: 31.89 kB / 263.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01206, allocations: 12 kB / 263.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.01211, allocations: 160.1 kB / 264.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 0 / 264.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01239, allocations: 76 kB / 264.1 MB, free: 10.71 MB / 250.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.0001056/0.0125, allocations: 111.2 kB / 264.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01272, allocations: 192.3 kB / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01272, allocations: 0 / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01282, allocations: 119.7 kB / 264.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.01326, allocations: 69.34 kB / 264.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.01414, allocations: 0.7881 MB / 265.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.415e-05/0.01422, allocations: 97.28 kB / 265.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.781e-05/0.0143, allocations: 34.95 kB / 265.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.01444, allocations: 134.2 kB / 265.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01445, allocations: 0 / 265.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of Templates: time 0.005436/0.01988, allocations: 3.295 MB / 268.9 MB, free: 5.801 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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","",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.8580078738741577]