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.00153/0.00153, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001615/0.001615, allocations: 183 kB / 23.7 MB, free: 4.414 MB / 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.429/1.429, allocations: 225.7 MB / 252.5 MB, free: 12.82 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 59.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2564, allocations: 52.17 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00379/0.2602, allocations: 2.256 MB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.2609, allocations: 247.1 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.2611, allocations: 7.938 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2613, allocations: 43.58 kB / 425.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.2616, allocations: 91.2 kB / 425.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.2618, allocations: 51.92 kB / 425.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.2622, allocations: 290.7 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2624, allocations: 73.78 kB / 425.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2626, allocations: 111.6 kB / 425.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2628, allocations: 99.47 kB / 425.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.2629, allocations: 24 kB / 425.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.2629, allocations: 24 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.263, allocations: 51.78 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2631, allocations: 111.5 kB / 426 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.2635, allocations: 300.5 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2635, allocations: 0 / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2635, allocations: 0 / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2635, allocations: 0 / 426.3 MB, free: 10.61 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.0008904/0.2644, allocations: 489.5 kB / 426.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2645, allocations: 8.031 kB / 426.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.277e-05/0.2645, allocations: 62.73 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.2646, allocations: 32.75 kB / 426.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2651, allocations: 186.8 kB / 427.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.2651, allocations: 12.88 kB / 427.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.2651, allocations: 32.33 kB / 427.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.2656, allocations: 235.2 kB / 427.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.2656, allocations: 11.88 kB / 427.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.2656, allocations: 8 kB / 427.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2657, allocations: 8 kB / 427.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.266, allocations: 155.9 kB / 427.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2671, allocations: 0.7105 MB / 428.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.2676, allocations: 283.6 kB / 428.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.2679, allocations: 126.5 kB / 428.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.2679, allocations: 4 kB / 428.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2679, allocations: 38.56 kB / 428.7 MB, free: 8.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.2679, allocations: 3.938 kB / 428.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002702/0.2706, allocations: 1.502 MB / 430.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.2707, allocations: 110.8 kB / 430.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2709, allocations: 189 kB / 430.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.2709, allocations: 37.64 kB / 430.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2711, allocations: 144.8 kB / 430.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2712, allocations: 178.5 kB / 430.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2713, allocations: 70.14 kB / 430.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2714, allocations: 334.8 kB / 431.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2716, allocations: 92.83 kB / 431.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2718, allocations: 154.3 kB / 431.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.2722, allocations: 276.4 kB / 431.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2723, allocations: 0 / 431.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005279/0.2728, allocations: 338.5 kB / 432.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2728, allocations: 7.938 kB / 432.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2728, allocations: 8.875 kB / 432.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2728, allocations: 4 kB / 432.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2732, allocations: 95.83 kB / 432.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2732, allocations: 4 kB / 432.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2733, allocations: 12 kB / 432.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.2734, allocations: 20 kB / 432.2 MB, free: 4.266 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.0001757/0.2735, allocations: 145.7 kB / 432.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/0.2736, allocations: 43.84 kB / 432.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.822e-05/0.2737, allocations: 41.83 kB / 432.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2737, allocations: 4 kB / 432.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.2737, allocations: 7.875 kB / 432.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2738, allocations: 7.984 kB / 432.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.2754, allocations: 0.972 MB / 433.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2754, allocations: 0 / 433.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2758, allocations: 95.83 kB / 433.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.2758, allocations: 4 kB / 433.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.2758, allocations: 19.88 kB / 433.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.2758, allocations: 4 kB / 433.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2758, allocations: 0 / 433.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.2767, allocations: 0.7289 MB / 434.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.2767, allocations: 27.92 kB / 434.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.2768, allocations: 16.02 kB / 434.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.277, allocations: 12 kB / 434.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2771, allocations: 35.83 kB / 434.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.2771, allocations: 12 kB / 434.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2772, allocations: 143.3 kB / 434.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2772, allocations: 0 / 434.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.2777, allocations: 72 kB / 434.6 MB, free: 1.746 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.001119/0.2788, allocations: 1.267 MB / 435.9 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.2792, allocations: 266.7 kB / 436.1 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2792, allocations: 4 kB / 436.1 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.2794, allocations: 131.7 kB / 436.3 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.2801, allocations: 76.84 kB / 436.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.2843, allocations: 3.286 MB / 439.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2844, allocations: 163.8 kB / 439.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.2846, allocations: 30.95 kB / 439.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.2847, allocations: 91.41 kB / 439.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2847, allocations: 0 / 439.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.3217, allocations: 6.669 MB / 446.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.72, allocations: 7.375 kB / 446.6 MB, free: 5.699 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/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] "Error: Could not read variable springDamper3.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.158739490900189]