Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.84 kB / 374.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.0954, allocations: 53.31 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003686/0.09909, allocations: 2.453 MB / 430.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005223/0.09961, allocations: 239.1 kB / 430.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.09973, allocations: 4 kB / 430.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.09989, allocations: 43.58 kB / 430.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1001, allocations: 87.2 kB / 430.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.1002, allocations: 59.92 kB / 430.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1006, allocations: 290.6 kB / 431.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1008, allocations: 69.7 kB / 431.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1009, allocations: 111.6 kB / 431.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1011, allocations: 119.5 kB / 431.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1011, allocations: 20 kB / 431.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.1012, allocations: 24 kB / 431.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.1012, allocations: 51.83 kB / 431.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1014, allocations: 131.3 kB / 431.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.1017, allocations: 302.6 kB / 432 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1017, allocations: 4 kB / 432 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1017, allocations: 3.938 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1017, allocations: 0 / 432 MB, free: 380 kB / 350.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.1876/0.2893, allocations: 0.534 MB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2893, allocations: 9.031 kB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.2894, allocations: 33.52 kB / 432.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2897, allocations: 246.1 kB / 432.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2897, allocations: 18.12 kB / 432.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.2898, allocations: 22.62 kB / 432.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2902, allocations: 244.6 kB / 433.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2902, allocations: 2.516 kB / 433.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.2902, allocations: 15.41 kB / 433.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2902, allocations: 6.688 kB / 433.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2905, allocations: 164.1 kB / 433.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.2914, allocations: 0.8 MB / 434.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.2918, allocations: 275.1 kB / 434.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.292, allocations: 122.8 kB / 434.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.292, allocations: 3.5 kB / 434.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.292, allocations: 36.53 kB / 434.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.292, allocations: 3.75 kB / 434.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002152/0.2942, allocations: 1.958 MB / 436.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2942, allocations: 111.4 kB / 436.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2944, allocations: 189.3 kB / 436.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2944, allocations: 34.11 kB / 436.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.2945, allocations: 141.9 kB / 437 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.2946, allocations: 163.6 kB / 437.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.2946, allocations: 73.31 kB / 437.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.2947, allocations: 339.8 kB / 437.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2948, allocations: 90.97 kB / 437.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.295, allocations: 155.8 kB / 437.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.2953, allocations: 283.6 kB / 438 MB, free: 7.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2953, allocations: 0 / 438 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004469/0.2958, allocations: 337 kB / 438.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2958, allocations: 12.44 kB / 438.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2958, allocations: 2.188 kB / 438.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2958, allocations: 11.27 kB / 438.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.2962, allocations: 92.83 kB / 438.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2962, allocations: 10.5 kB / 438.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2963, allocations: 11.44 kB / 438.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2963, allocations: 19.06 kB / 438.5 MB, free: 7.699 MB / 350.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.0001041/0.2964, allocations: 153.2 kB / 438.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.2965, allocations: 34.78 kB / 438.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.2966, allocations: 39.55 kB / 438.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2966, allocations: 5.375 kB / 438.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2966, allocations: 1.219 kB / 438.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2966, allocations: 1.375 kB / 438.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2977, allocations: 1.049 MB / 439.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2977, allocations: 3.844 kB / 439.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.298, allocations: 88.02 kB / 439.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.2981, allocations: 8.844 kB / 439.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2981, allocations: 17.38 kB / 439.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.2981, allocations: 13.47 kB / 439.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2981, allocations: 3.25 kB / 439.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.2987, allocations: 0.7118 MB / 440.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.2987, allocations: 106.6 kB / 440.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2988, allocations: 13.44 kB / 440.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.299, allocations: 11.31 kB / 440.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.299, allocations: 35.97 kB / 440.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.299, allocations: 14.75 kB / 440.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.2991, allocations: 139.2 kB / 441 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2991, allocations: 2.344 kB / 441 MB, free: 5.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2996, allocations: 71.78 kB / 441 MB, free: 5.965 MB / 350.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.0001056/0.2997, allocations: 118.8 kB / 441.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.3001, allocations: 255.7 kB / 441.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3001, allocations: 1.094 kB / 441.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3003, allocations: 133.9 kB / 441.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.3009, allocations: 76.42 kB / 441.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3021, allocations: 0.9451 MB / 442.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3023, allocations: 0.7677 MB / 443.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.3024, allocations: 33.5 kB / 443.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3024, allocations: 3.938 kB / 443.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Templates: time 0.006474/0.3089, allocations: 3.492 MB / 446.8 MB, free: 3.953 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.032347472151741]