Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007172/0.0007172, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001803, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006293/0.0006293, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009813/0.001611, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8966/0.8966, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07821/0.9748, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 239.7 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.307e-05, allocations: 6.312 kB / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.0021/0.002113, allocations: 2.444 MB / 242.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.002401, allocations: 262.9 kB / 242.4 MB, free: 384 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.002486, allocations: 7.938 kB / 242.4 MB, free: 376 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.396e-05/0.00256, allocations: 43.52 kB / 242.5 MB, free: 332 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.002657, allocations: 87.2 kB / 242.6 MB, free: 244 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.51e-05/0.002742, allocations: 55.92 kB / 242.6 MB, free: 188 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.00294, allocations: 310.5 kB / 242.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.003064, allocations: 64.78 kB / 243 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.003216, allocations: 199.5 kB / 243.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.003329, allocations: 87.72 kB / 243.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.00336, allocations: 20 kB / 243.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.003387, allocations: 24 kB / 243.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.00342, allocations: 35.88 kB / 243.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.003476, allocations: 79.81 kB / 243.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.003645, allocations: 183.3 kB / 243.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.003654, allocations: 8 kB / 243.6 MB, free: 15.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.003655, allocations: 0 / 243.6 MB, free: 15.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.003664, allocations: 0 / 243.6 MB, free: 15.19 MB / 250.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.0004852/0.00415, allocations: 0.492 MB / 244.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.004179, allocations: 12.03 kB / 244.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.004229, allocations: 36.91 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.004408, allocations: 174.1 kB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.004424, allocations: 16.88 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.00446, allocations: 24.38 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.004638, allocations: 191.1 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.004653, allocations: 12.12 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.004665, allocations: 8.375 kB / 244.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.004674, allocations: 8.375 kB / 244.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.004764, allocations: 81.3 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.005263, allocations: 0.543 MB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.005477, allocations: 191.7 kB / 245.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.005562, allocations: 82.52 kB / 245.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.005574, allocations: 4 kB / 245.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.005596, allocations: 42.5 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.192e-06/0.005598, allocations: 0 / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001272/0.00687, allocations: 1.293 MB / 246.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.006908, allocations: 110.8 kB / 246.9 MB, free: 11.58 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.00699, allocations: 179 kB / 247.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007005, allocations: 29.7 kB / 247.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.007056, allocations: 136.7 kB / 247.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.007127, allocations: 170.5 kB / 247.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.007186, allocations: 78.14 kB / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.00726, allocations: 338.7 kB / 247.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.007298, allocations: 36.98 kB / 247.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.007366, allocations: 106.9 kB / 248 MB, free: 10.47 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.007495, allocations: 175 kB / 248.1 MB, free: 10.28 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007497, allocations: 4 kB / 248.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001763/0.007673, allocations: 210.5 kB / 248.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007684, allocations: 4 kB / 248.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.007691, allocations: 7.984 kB / 248.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007702, allocations: 4 kB / 248.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.00792, allocations: 119.8 kB / 248.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.007927, allocations: 7.938 kB / 248.5 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.007975, allocations: 8 kB / 248.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.008, allocations: 16.09 kB / 248.5 MB, free: 9.902 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 7.033e-05/0.008071, allocations: 133.7 kB / 248.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.008117, allocations: 35.97 kB / 248.7 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.008161, allocations: 33.81 kB / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.008165, allocations: 4 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.008167, allocations: 3.938 kB / 248.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.008173, allocations: 11.92 kB / 248.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.008786, allocations: 0.7189 MB / 249.4 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.00879, allocations: 4 kB / 249.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.009012, allocations: 107.9 kB / 249.5 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.009033, allocations: 27.89 kB / 249.6 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.009036, allocations: 4 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.00905, allocations: 16.28 kB / 249.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.009056, allocations: 15.88 kB / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.009057, allocations: 0 / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.009426, allocations: 0.5541 MB / 250.2 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.009446, allocations: 12 kB / 250.2 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.009546, allocations: 12 kB / 250.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.009576, allocations: 35.83 kB / 250.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.009585, allocations: 11.98 kB / 250.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.009613, allocations: 41.88 kB / 250.3 MB, free: 8.012 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009613, allocations: 4 kB / 250.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.009833, allocations: 72 kB / 250.3 MB, free: 7.938 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 7.288e-05/0.009906, allocations: 100.3 kB / 250.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.01008, allocations: 184.2 kB / 250.6 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.01009, allocations: 4 kB / 250.6 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.0102, allocations: 141 kB / 250.8 MB, free: 7.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.01068, allocations: 0.6292 MB / 251.4 MB, free: 6.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.01187, allocations: 0.6429 MB / 252 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.01193, allocations: 97.28 kB / 252.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.01201, allocations: 35.09 kB / 252.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01212, allocations: 111.3 kB / 252.3 MB, free: 5.793 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01213, allocations: 0 / 252.3 MB, free: 5.793 MB / 250.7 MB Notification: Performance of Templates: time 0.004629/0.01675, allocations: 3.384 MB / 255.7 MB, free: 2.492 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.338756394572556]