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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009502/0.0009503, allocations: 46.61 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09527, allocations: 49.45 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003343/0.09865, allocations: 2.415 MB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.09909, allocations: 235.1 kB / 352.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.0992, allocations: 7.938 kB / 352.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.09934, allocations: 43.58 kB / 352.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.0995, allocations: 79.27 kB / 352.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.09966, allocations: 63.86 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.09993, allocations: 290.7 kB / 353.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1001, allocations: 97.67 kB / 353.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.1002, allocations: 103.6 kB / 353.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1004, allocations: 119.5 kB / 353.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1004, allocations: 31.94 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.1005, allocations: 24 kB / 353.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1005, allocations: 51.77 kB / 353.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1007, allocations: 131.4 kB / 353.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1009, allocations: 283.2 kB / 354 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1009, allocations: 0 / 354 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1009, allocations: 0 / 354 MB, free: 464 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1009, allocations: 4 kB / 354 MB, free: 460 kB / 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.0007086/0.1017, allocations: 0.5484 MB / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1017, allocations: 12.03 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1018, allocations: 28.56 kB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.102, allocations: 249.7 kB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.102, allocations: 20.94 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1021, allocations: 24.38 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.1024, allocations: 240 kB / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1025, allocations: 12.09 kB / 355.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.1025, allocations: 7.938 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1025, allocations: 8 kB / 355.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1028, allocations: 163.8 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009396/0.1037, allocations: 0.7929 MB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.1042, allocations: 295.8 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1044, allocations: 130.5 kB / 356.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1045, allocations: 4.219 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1045, allocations: 46.5 kB / 356.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.1045, allocations: 0 / 356.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002461/0.107, allocations: 1.954 MB / 358.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.107, allocations: 106.8 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1072, allocations: 191.2 kB / 358.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1072, allocations: 37.7 kB / 358.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.1073, allocations: 136.8 kB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.1074, allocations: 161.6 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1075, allocations: 74.12 kB / 359.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1076, allocations: 334.8 kB / 359.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1078, allocations: 92.78 kB / 359.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.108, allocations: 158.3 kB / 359.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.1083, allocations: 272.6 kB / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1084, allocations: 0 / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004584/0.1088, allocations: 349.8 kB / 360.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1088, allocations: 11.94 kB / 360.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1089, allocations: 0 / 360.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1089, allocations: 4 kB / 360.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.1092, allocations: 91.91 kB / 360.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1092, allocations: 3.938 kB / 360.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1093, allocations: 12 kB / 360.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1093, allocations: 19.98 kB / 360.5 MB, free: 9.348 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.0001307/0.1095, allocations: 153.8 kB / 360.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.1096, allocations: 31.66 kB / 360.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.1096, allocations: 33.88 kB / 360.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1097, allocations: 4 kB / 360.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1097, allocations: 7.984 kB / 360.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1097, allocations: 0 / 360.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.111, allocations: 1.058 MB / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.111, allocations: 4 kB / 361.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.1113, allocations: 83.89 kB / 361.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1113, allocations: 7.938 kB / 361.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1114, allocations: 20 kB / 361.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1114, allocations: 4.094 kB / 361.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.1114, allocations: 11.88 kB / 361.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.1121, allocations: 0.7212 MB / 362.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1122, allocations: 104.7 kB / 362.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1122, allocations: 19.98 kB / 362.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1124, allocations: 8 kB / 362.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1125, allocations: 35.91 kB / 362.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1125, allocations: 12 kB / 362.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1126, allocations: 136.5 kB / 363 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1126, allocations: 0 / 363 MB, free: 6.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.113, allocations: 75.94 kB / 363 MB, free: 6.684 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.0001241/0.1132, allocations: 115.3 kB / 363.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.1136, allocations: 291.5 kB / 363.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1137, allocations: 0 / 363.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1138, allocations: 147.7 kB / 363.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.1146, allocations: 67.09 kB / 363.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.116, allocations: 0.9171 MB / 364.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1164, allocations: 0.7721 MB / 365.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1165, allocations: 34.95 kB / 365.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.1166, allocations: 27.62 kB / 365.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1166, allocations: 0 / 365.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Templates: time 0.006007/0.1226, allocations: 2.976 MB / 368.4 MB, free: 1.281 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches