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.0009465/0.0009465, allocations: 87.89 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009857/0.0009857, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 18.57 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.8924/0.8924, allocations: 173.4 MB / 201.2 MB, free: 9.324 MB / 186.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.262e-06/1.262e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.048e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003105/0.003125, allocations: 2.417 MB / 270.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000585/0.00371, allocations: 247 kB / 270.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.003835, allocations: 7.938 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.003989, allocations: 43.58 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.004148, allocations: 91.14 kB / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.004323, allocations: 51.92 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.004587, allocations: 306.4 kB / 271.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.004742, allocations: 62.05 kB / 271.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.004904, allocations: 171.6 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.005038, allocations: 83.78 kB / 271.4 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.005074, allocations: 20 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.531e-05/0.00511, allocations: 27.94 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.005152, allocations: 55.8 kB / 271.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.005233, allocations: 87.83 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005466, allocations: 195.2 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005468, allocations: 0 / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005469, allocations: 4 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.005475, allocations: 4 kB / 271.8 MB, free: 2.57 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.0005909/0.006066, allocations: 0.5663 MB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006101, allocations: 12.92 kB / 272.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.006177, allocations: 48.75 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.006401, allocations: 192.9 kB / 272.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006419, allocations: 16.88 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.006461, allocations: 28.33 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.006753, allocations: 207.5 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.006771, allocations: 8.125 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.006792, allocations: 8.375 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.006804, allocations: 8.375 kB / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.006981, allocations: 105.5 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.007774, allocations: 0.7899 MB / 273.8 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.00814, allocations: 245.2 kB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.008315, allocations: 103 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.00833, allocations: 11.94 kB / 274.2 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.008357, allocations: 45.33 kB / 274.2 MB, free: 4 kB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.008358, allocations: 0 / 274.2 MB, free: 4 kB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001802/0.01016, allocations: 1.407 MB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.01022, allocations: 110.8 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.01036, allocations: 225.8 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.01038, allocations: 33.7 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.01047, allocations: 187.5 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.01057, allocations: 170.5 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.01066, allocations: 79.84 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003736/0.01103, allocations: 0.5001 MB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.01113, allocations: 56.97 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01127, allocations: 142.8 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.01154, allocations: 218.8 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01154, allocations: 0 / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003706/0.01191, allocations: 306.8 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01192, allocations: 4 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01193, allocations: 96 / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01194, allocations: 8 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.01219, allocations: 87.91 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01221, allocations: 11.92 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.01229, allocations: 12 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.01231, allocations: 12 kB / 277.7 MB, free: 12.16 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.0001122/0.01242, allocations: 184.4 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.01251, allocations: 39.86 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333e-05/0.01257, allocations: 41.8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.01258, allocations: 8 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01259, allocations: 4 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01259, allocations: 3.938 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.01379, allocations: 1.034 MB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.01379, allocations: 4 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.01413, allocations: 92.17 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.01414, allocations: 4 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.01417, allocations: 12 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.01417, allocations: 4 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.01418, allocations: 7.938 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.01488, allocations: 0.7898 MB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.01491, allocations: 19.86 kB / 280 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.01495, allocations: 12.05 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.01515, allocations: 15.97 kB / 280 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.0152, allocations: 39.89 kB / 280 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.01522, allocations: 16 kB / 280.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.01531, allocations: 160.2 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01532, allocations: 3.938 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000475/0.01579, allocations: 72 kB / 280.3 MB, free: 9.457 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.0001233/0.01591, allocations: 115.1 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.01631, allocations: 204.3 kB / 280.6 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01631, allocations: 4.188 kB / 280.6 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.01648, allocations: 127.4 kB / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.01719, allocations: 65.09 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.0183, allocations: 0.7888 MB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.01837, allocations: 97.19 kB / 281.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.01845, allocations: 38.94 kB / 281.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.0185, allocations: 28.5 kB / 281.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01851, allocations: 4 kB / 281.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of Templates: time 0.005008/0.02351, allocations: 3.11 MB / 284.9 MB, free: 4.82 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.74889899790287]