Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001362/0.001362, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001484/0.001484, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 56.09 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.253, allocations: 53.42 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00364/0.2567, allocations: 2.448 MB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.2572, allocations: 243.1 kB / 433.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2573, allocations: 11.94 kB / 433.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.2575, allocations: 39.58 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.2576, allocations: 91.2 kB / 434 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.2578, allocations: 59.91 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.2582, allocations: 282.7 kB / 434.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2583, allocations: 73.98 kB / 434.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2585, allocations: 111.6 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2586, allocations: 119.5 kB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.2587, allocations: 20 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.2587, allocations: 24 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.2588, allocations: 59.78 kB / 434.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2589, allocations: 123.4 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2592, allocations: 307 kB / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2592, allocations: 0 / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2592, allocations: 0 / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.2592, allocations: 0 / 435.2 MB, free: 2.707 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.0007275/0.2599, allocations: 485.5 kB / 435.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.26, allocations: 8.031 kB / 435.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.26, allocations: 58.73 kB / 435.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.2601, allocations: 32.75 kB / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.2604, allocations: 190.8 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2604, allocations: 20.88 kB / 435.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.2605, allocations: 24.38 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.2609, allocations: 239.2 kB / 436.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2609, allocations: 11.88 kB / 436.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2609, allocations: 8 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2609, allocations: 4 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.2612, allocations: 163.9 kB / 436.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2622, allocations: 0.7572 MB / 437.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2627, allocations: 287.6 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2629, allocations: 122.5 kB / 437.5 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.263, allocations: 4 kB / 437.5 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.263, allocations: 42.55 kB / 437.6 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.263, allocations: 3.938 kB / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002548/0.2655, allocations: 1.499 MB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.2656, allocations: 118.8 kB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.2658, allocations: 187.2 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.2658, allocations: 29.7 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2659, allocations: 148.8 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2661, allocations: 166.5 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2662, allocations: 74.12 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2663, allocations: 338.8 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2665, allocations: 92.83 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2667, allocations: 166.5 kB / 440.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.2671, allocations: 283.4 kB / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2671, allocations: 0 / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004955/0.2676, allocations: 341.2 kB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2676, allocations: 7.938 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2676, allocations: 4 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2676, allocations: 4 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.268, allocations: 95.83 kB / 441.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.268, allocations: 4 kB / 441.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2681, allocations: 8 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2681, allocations: 20.09 kB / 441.1 MB, free: 12.31 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.0001456/0.2683, allocations: 145.8 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.2683, allocations: 35.75 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.2684, allocations: 37.8 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2684, allocations: 4 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2684, allocations: 3.938 kB / 441.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2685, allocations: 8.031 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.2699, allocations: 1.022 MB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2699, allocations: 3.984 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2702, allocations: 91.84 kB / 442.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.2702, allocations: 4 kB / 442.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.2703, allocations: 16.41 kB / 442.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.2703, allocations: 7.984 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2703, allocations: 0 / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.2711, allocations: 0.7364 MB / 443.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.2711, allocations: 27.91 kB / 443.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2712, allocations: 12 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2714, allocations: 12 kB / 443.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2714, allocations: 35.83 kB / 443.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2714, allocations: 12 kB / 443.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2716, allocations: 140.5 kB / 443.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2716, allocations: 0 / 443.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.272, allocations: 72 kB / 443.5 MB, free: 9.758 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.00134/0.2733, allocations: 1.267 MB / 444.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.2738, allocations: 258.4 kB / 445.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2738, allocations: 4 kB / 445.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.274, allocations: 135.7 kB / 445.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.2747, allocations: 72.38 kB / 445.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.2786, allocations: 3.29 MB / 448.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.279, allocations: 0.7606 MB / 449.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.2791, allocations: 34.95 kB / 449.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2792, allocations: 91.41 kB / 449.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2792, allocations: 4 kB / 449.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.3119, allocations: 6.319 MB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 0 / 455.8 MB, free: 13.41 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.872248181000032]