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.0008361/0.0008361, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003153/0.003153, allocations: 158.7 kB / 24.7 MB, free: 9.414 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 0.8411/0.8411, allocations: 177.1 MB / 205 MB, free: 5.715 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.522e-06/1.522e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.407e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002987/0.003011, allocations: 2.289 MB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003908/0.003402, allocations: 235.1 kB / 328.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.003501, allocations: 7.938 kB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003624, allocations: 43.56 kB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003724, allocations: 87.2 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003858, allocations: 63.84 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.004064, allocations: 310.3 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.004216, allocations: 66.05 kB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.004335, allocations: 167.7 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.004437, allocations: 83.7 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.004472, allocations: 24 kB / 329.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.004494, allocations: 20 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.004527, allocations: 51.83 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.004588, allocations: 95.75 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.004829, allocations: 299 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.004835, allocations: 3.938 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.004837, allocations: 0 / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.004844, allocations: 0 / 329.6 MB, free: 11.62 MB / 298.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.0005465/0.005391, allocations: 476.9 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.005422, allocations: 12.03 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.005468, allocations: 32.75 kB / 330.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.005712, allocations: 190 kB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.005733, allocations: 16.88 kB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.005772, allocations: 28.33 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.006053, allocations: 235.2 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.00607, allocations: 8.172 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.006086, allocations: 4.375 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.006093, allocations: 8.375 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.006286, allocations: 167.8 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.006941, allocations: 0.6564 MB / 331.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.007279, allocations: 291.6 kB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.00743, allocations: 118.5 kB / 331.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.007446, allocations: 7.938 kB / 331.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.007467, allocations: 34.56 kB / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.007469, allocations: 0 / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001555/0.009024, allocations: 1.5 MB / 333.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.009128, allocations: 106.8 kB / 333.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.009231, allocations: 174.9 kB / 333.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.009249, allocations: 29.7 kB / 333.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.009314, allocations: 148.8 kB / 333.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.009383, allocations: 166.6 kB / 334 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.009446, allocations: 75.08 kB / 334.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.009529, allocations: 334.8 kB / 334.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.009627, allocations: 92.95 kB / 334.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.009761, allocations: 162.8 kB / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01001, allocations: 276.8 kB / 334.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01001, allocations: 0 / 334.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004418/0.01045, allocations: 341.2 kB / 335.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01047, allocations: 4 kB / 335.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01047, allocations: 0 / 335.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01049, allocations: 4 kB / 335.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01067, allocations: 99.83 kB / 335.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01067, allocations: 11.88 kB / 335.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.01073, allocations: 12 kB / 335.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01074, allocations: 15.94 kB / 335.4 MB, free: 5.449 MB / 298.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.206e-05/0.01083, allocations: 149.7 kB / 335.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.01087, allocations: 31.95 kB / 335.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.01092, allocations: 33.8 kB / 335.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01092, allocations: 4 kB / 335.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.01093, allocations: 8 kB / 335.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.01093, allocations: 7.922 kB / 335.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.01173, allocations: 0.9385 MB / 336.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.01174, allocations: 4 kB / 336.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.01196, allocations: 83.91 kB / 336.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01196, allocations: 4 kB / 336.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01198, allocations: 12 kB / 336.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01198, allocations: 7.984 kB / 336.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01198, allocations: 7.938 kB / 336.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.01249, allocations: 0.7334 MB / 337.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.01252, allocations: 23.84 kB / 337.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.01254, allocations: 12.09 kB / 337.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01265, allocations: 12 kB / 337.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.01268, allocations: 35.89 kB / 337.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.0127, allocations: 16 kB / 337.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.162e-05/0.01276, allocations: 128.3 kB / 337.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01276, allocations: 7.938 kB / 337.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.01302, allocations: 68 kB / 337.7 MB, free: 3.004 MB / 298.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 9.29e-05/0.01311, allocations: 107.2 kB / 337.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.01339, allocations: 258.3 kB / 338.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01339, allocations: 0 / 338.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01351, allocations: 143.3 kB / 338.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.01392, allocations: 71.64 kB / 338.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.01471, allocations: 0.7951 MB / 339.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01481, allocations: 163.8 kB / 339.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.01486, allocations: 28.5 kB / 339.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01486, allocations: 4 kB / 339.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of Templates: time 0.003197/0.01806, allocations: 3.539 MB / 342.8 MB, free: 13.82 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.3327027866616845]