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.001796/0.001796, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002214/0.002214, allocations: 204.9 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.002131/0.002131, allocations: 67.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2612, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003908/0.2651, allocations: 2.272 MB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.2657, allocations: 239.1 kB / 433.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2658, allocations: 7.938 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.266, allocations: 43.58 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2661, allocations: 87.25 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2663, allocations: 59.92 kB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2666, allocations: 294.6 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2668, allocations: 61.98 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2669, allocations: 107.7 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2671, allocations: 111.4 kB / 434.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.2671, allocations: 24 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.2672, allocations: 20 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.2672, allocations: 47.84 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2673, allocations: 115.5 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.2677, allocations: 296.5 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2677, allocations: 0 / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2677, allocations: 4 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2677, allocations: 0 / 434.9 MB, free: 2.668 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.0008204/0.2685, allocations: 481.5 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2686, allocations: 11.98 kB / 435.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.651e-05/0.2687, allocations: 58.73 kB / 435.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.2687, allocations: 32.75 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.2691, allocations: 190.8 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2691, allocations: 20.88 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.2692, allocations: 24.38 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.2696, allocations: 243.1 kB / 435.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.2696, allocations: 7.938 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2697, allocations: 4 kB / 435.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2697, allocations: 11.98 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2699, allocations: 162.8 kB / 436.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.271, allocations: 0.7182 MB / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.2715, allocations: 275.7 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.2718, allocations: 134.4 kB / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2718, allocations: 4 kB / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.2719, allocations: 42.56 kB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.2719, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002589/0.2744, allocations: 1.504 MB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.2745, allocations: 107 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2747, allocations: 191.2 kB / 439.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2747, allocations: 29.7 kB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2749, allocations: 152.8 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.275, allocations: 162.6 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.2751, allocations: 74.09 kB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2752, allocations: 342.8 kB / 439.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2754, allocations: 92.83 kB / 439.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.2756, allocations: 166.2 kB / 440.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.276, allocations: 267.2 kB / 440.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.276, allocations: 4 kB / 440.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005466/0.2766, allocations: 349 kB / 440.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2766, allocations: 8.031 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2766, allocations: 4 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2766, allocations: 4 kB / 440.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.2769, allocations: 91.89 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2769, allocations: 4.938 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2771, allocations: 12 kB / 440.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2771, allocations: 12 kB / 440.8 MB, free: 12.32 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.0001812/0.2773, allocations: 158.3 kB / 441 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.2773, allocations: 27.8 kB / 441 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.704e-05/0.2774, allocations: 41.8 kB / 441 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2774, allocations: 8 kB / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.2774, allocations: 0 / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2775, allocations: 3.984 kB / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2789, allocations: 0.9833 MB / 442 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2789, allocations: 4.219 kB / 442 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2792, allocations: 99.83 kB / 442.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2793, allocations: 4 kB / 442.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2793, allocations: 8 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2793, allocations: 4 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2793, allocations: 7.938 kB / 442.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.2802, allocations: 0.7365 MB / 442.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.2802, allocations: 23.81 kB / 442.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.2803, allocations: 16.05 kB / 442.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2805, allocations: 12 kB / 442.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2805, allocations: 35.89 kB / 443 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2805, allocations: 16 kB / 443 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.2807, allocations: 136.5 kB / 443.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 443.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2811, allocations: 72 kB / 443.2 MB, free: 9.797 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.001224/0.2823, allocations: 1.267 MB / 444.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2828, allocations: 261.3 kB / 444.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2828, allocations: 0 / 444.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.283, allocations: 135.5 kB / 444.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.2837, allocations: 77.28 kB / 444.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.2879, allocations: 3.278 MB / 448.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2881, allocations: 155.8 kB / 448.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2882, allocations: 42.94 kB / 448.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2884, allocations: 95.41 kB / 448.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2884, allocations: 0 / 448.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.3255, allocations: 6.656 MB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.72, allocations: 14.75 kB / 455.2 MB, free: 13.74 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: 14.226306014694273]