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.0008013/0.0008013, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008072/0.0008072, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8616/0.8616, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.843e-06/1.843e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.463e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003058/0.003083, allocations: 2.278 MB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.003681, allocations: 239.1 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.003812, allocations: 11.94 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.003967, allocations: 43.58 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.004126, allocations: 91.14 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.004317, allocations: 63.84 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.004587, allocations: 302.3 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.004765, allocations: 66.06 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.004935, allocations: 171.6 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005069, allocations: 83.77 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.00511, allocations: 20 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.005146, allocations: 24 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.00519, allocations: 63.75 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.005272, allocations: 83.83 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.00557, allocations: 295 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005574, allocations: 0 / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005575, allocations: 4 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.005581, allocations: 0 / 328.3 MB, free: 12.07 MB / 298.7 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.0007431/0.006325, allocations: 485.5 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.006378, allocations: 11.98 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.006445, allocations: 58.73 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.006504, allocations: 32.75 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.007002, allocations: 182 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.007026, allocations: 24.81 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.007074, allocations: 24.38 kB / 329.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.007446, allocations: 239.2 kB / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.007466, allocations: 4.188 kB / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.00749, allocations: 8.375 kB / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.007502, allocations: 16.12 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.007759, allocations: 159.8 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.008646, allocations: 0.7027 MB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.009101, allocations: 287.6 kB / 330.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.009301, allocations: 130.4 kB / 330.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.00932, allocations: 4 kB / 330.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.009343, allocations: 38.56 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.009345, allocations: 4 kB / 330.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002076/0.01142, allocations: 1.502 MB / 332.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.01147, allocations: 110.8 kB / 332.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.01211, allocations: 191 kB / 332.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.01214, allocations: 37.69 kB / 332.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.01222, allocations: 148.8 kB / 332.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.01231, allocations: 158.6 kB / 332.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.01239, allocations: 78.14 kB / 332.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01249, allocations: 338.8 kB / 333.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.0126, allocations: 88.97 kB / 333.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01274, allocations: 163 kB / 333.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01303, allocations: 273.8 kB / 333.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01304, allocations: 8 kB / 333.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003286/0.01337, allocations: 349 kB / 334.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01338, allocations: 6.344 kB / 334.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01339, allocations: 0 / 334.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01341, allocations: 7.938 kB / 334.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.0136, allocations: 95.84 kB / 334.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01361, allocations: 7.984 kB / 334.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.01366, allocations: 8 kB / 334.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01367, allocations: 12 kB / 334.2 MB, free: 5.715 MB / 298.7 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 9.435e-05/0.01377, allocations: 157.8 kB / 334.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.01383, allocations: 23.86 kB / 334.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.0139, allocations: 45.73 kB / 334.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.0139, allocations: 7.938 kB / 334.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01391, allocations: 0 / 334.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01391, allocations: 0 / 334.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.01527, allocations: 0.9847 MB / 335.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01527, allocations: 0 / 335.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.0155, allocations: 95.83 kB / 335.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.0155, allocations: 4 kB / 335.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01552, allocations: 12 kB / 335.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.01553, allocations: 7.938 kB / 335.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01553, allocations: 4 kB / 335.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.01606, allocations: 0.7246 MB / 336.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.0161, allocations: 27.88 kB / 336.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.01613, allocations: 15.94 kB / 336.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.01624, allocations: 12 kB / 336.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.01627, allocations: 35.88 kB / 336.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.01628, allocations: 12 kB / 336.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.01636, allocations: 144.2 kB / 336.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01636, allocations: 0 / 336.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.01664, allocations: 72 kB / 336.6 MB, free: 3.207 MB / 298.7 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.0007378/0.01738, allocations: 1.259 MB / 337.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.01769, allocations: 255.8 kB / 338.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01769, allocations: 0 / 338.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01781, allocations: 135.7 kB / 338.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.01828, allocations: 69.19 kB / 338.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.0208, allocations: 3.161 MB / 341.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.02091, allocations: 163.7 kB / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.021, allocations: 34.95 kB / 341.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.0211, allocations: 92.48 kB / 341.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.0211, allocations: 0 / 341.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.04114, allocations: 6.816 MB / 348.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.043, allocations: 6.531 kB / 348.6 MB, free: 7.117 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/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: 8.709021392278373]