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.001761/0.001761, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002066/0.002066, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.441/1.441, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001485/0.001485, allocations: 39.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2795, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003627/0.2832, allocations: 2.446 MB / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005361/0.2837, allocations: 243.1 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2838, allocations: 4 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.284, allocations: 43.58 kB / 423.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2841, allocations: 83.2 kB / 423.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2843, allocations: 59.88 kB / 423.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.2846, allocations: 286.7 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.2848, allocations: 85.62 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.285, allocations: 107.6 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2852, allocations: 111.5 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.2852, allocations: 24 kB / 424.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.2853, allocations: 20 kB / 424.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.2853, allocations: 59.77 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2855, allocations: 127.4 kB / 424.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.2858, allocations: 299.9 kB / 424.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2858, allocations: 0 / 424.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2858, allocations: 0 / 424.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2858, allocations: 4 kB / 424.8 MB, free: 11.13 MB / 334.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.0008535/0.2867, allocations: 0.5456 MB / 425.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2867, allocations: 8.031 kB / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.2868, allocations: 32.75 kB / 425.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.2872, allocations: 254 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2872, allocations: 16.94 kB / 425.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.2873, allocations: 24.38 kB / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.2877, allocations: 240 kB / 425.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.2877, allocations: 11.94 kB / 425.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2878, allocations: 7.938 kB / 426 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2878, allocations: 11.98 kB / 426 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.2881, allocations: 155.9 kB / 426.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2892, allocations: 0.7971 MB / 426.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.2897, allocations: 279.7 kB / 427.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.2899, allocations: 126.5 kB / 427.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2899, allocations: 4.219 kB / 427.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.29, allocations: 42.5 kB / 427.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.29, allocations: 4 kB / 427.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002772/0.2927, allocations: 1.945 MB / 429.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.2928, allocations: 110.8 kB / 429.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.293, allocations: 195.8 kB / 429.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.293, allocations: 29.7 kB / 429.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.2931, allocations: 144.9 kB / 429.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2933, allocations: 170.5 kB / 429.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2934, allocations: 78.12 kB / 430 MB, free: 5.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2935, allocations: 338.8 kB / 430.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2937, allocations: 88.84 kB / 430.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.2939, allocations: 150.3 kB / 430.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2943, allocations: 281.9 kB / 430.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2943, allocations: 0 / 430.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004994/0.2948, allocations: 343.1 kB / 431.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2948, allocations: 11.94 kB / 431.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2948, allocations: 0 / 431.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2948, allocations: 12.09 kB / 431.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.2952, allocations: 96.78 kB / 431.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.2952, allocations: 7.984 kB / 431.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2953, allocations: 12 kB / 431.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2953, allocations: 15.98 kB / 431.3 MB, free: 4.035 MB / 334.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.0001555/0.2955, allocations: 149.8 kB / 431.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.2956, allocations: 27.8 kB / 431.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.2957, allocations: 33.88 kB / 431.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2957, allocations: 12 kB / 431.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2957, allocations: 3.984 kB / 431.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2957, allocations: 0 / 431.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2972, allocations: 1.06 MB / 432.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.2972, allocations: 4 kB / 432.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.2976, allocations: 87.83 kB / 432.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.2976, allocations: 4 kB / 432.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.2976, allocations: 16 kB / 432.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.2976, allocations: 8.219 kB / 432.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2976, allocations: 8 kB / 432.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.2985, allocations: 0.7209 MB / 433.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.2986, allocations: 100.9 kB / 433.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.2986, allocations: 20.05 kB / 433.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2988, allocations: 8 kB / 433.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.2989, allocations: 35.84 kB / 433.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2989, allocations: 16 kB / 433.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.299, allocations: 136.5 kB / 433.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.299, allocations: 0 / 433.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.2995, allocations: 72 kB / 433.9 MB, free: 1.367 MB / 334.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.0001598/0.2997, allocations: 115.1 kB / 434 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.3001, allocations: 259.7 kB / 434.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3001, allocations: 0 / 434.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3003, allocations: 139.6 kB / 434.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.301, allocations: 73.36 kB / 434.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3026, allocations: 0.923 MB / 435.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3031, allocations: 0.7682 MB / 436.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3032, allocations: 38.94 kB / 436.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.3033, allocations: 27.44 kB / 436.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3033, allocations: 4 kB / 436.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Templates: time 0.007209/0.3105, allocations: 3.157 MB / 439.3 MB, free: 11.81 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.583742395974696]