Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006607/0.006607, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8975/0.8975, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.499e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00247/0.002485, allocations: 2.253 MB / 300.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004297/0.002914, allocations: 239.1 kB / 300.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.003008, allocations: 7.938 kB / 300.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.003118, allocations: 39.58 kB / 301 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.003225, allocations: 91.19 kB / 301 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003364, allocations: 55.92 kB / 301.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.003568, allocations: 306.4 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.003713, allocations: 70.03 kB / 301.5 MB, free: 492 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003836, allocations: 171.6 kB / 301.6 MB, free: 320 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.003936, allocations: 83.72 kB / 301.7 MB, free: 236 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.003972, allocations: 24 kB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.003997, allocations: 24 kB / 301.8 MB, free: 188 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.004032, allocations: 43.83 kB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.004098, allocations: 103.7 kB / 301.9 MB, free: 40 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1263/0.1304, allocations: 282.2 kB / 302.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1304, allocations: 0.5625 kB / 302.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1304, allocations: 0.8125 kB / 302.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1304, allocations: 0 / 302.2 MB, free: 13.48 MB / 282.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.0006579/0.1311, allocations: 484.1 kB / 302.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1311, allocations: 13.83 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.1312, allocations: 60.78 kB / 302.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1313, allocations: 31.41 kB / 302.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1316, allocations: 184.7 kB / 302.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1316, allocations: 18.97 kB / 303 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1316, allocations: 27.88 kB / 303 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1319, allocations: 241.8 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.132, allocations: 6.016 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.132, allocations: 11.59 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.132, allocations: 13.31 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1323, allocations: 155.4 kB / 303.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.1331, allocations: 0.702 MB / 304.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1336, allocations: 280.5 kB / 304.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.1338, allocations: 121.8 kB / 304.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1338, allocations: 9.234 kB / 304.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1339, allocations: 37.89 kB / 304.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1339, allocations: 0 / 304.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.002064/0.1359, allocations: 1.501 MB / 306 MB, free: 11.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.136, allocations: 113.5 kB / 306.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1361, allocations: 191 kB / 306.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1361, allocations: 35.67 kB / 306.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1362, allocations: 140.8 kB / 306.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.1363, allocations: 172.3 kB / 306.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.1364, allocations: 75.88 kB / 306.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.1364, allocations: 338.3 kB / 307.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1366, allocations: 90.53 kB / 307.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1368, allocations: 154.6 kB / 307.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1371, allocations: 287.7 kB / 307.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1371, allocations: 5.406 kB / 307.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004748/0.1376, allocations: 332.9 kB / 307.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1376, allocations: 5.453 kB / 307.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1376, allocations: 3.312 kB / 307.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1376, allocations: 11.14 kB / 308 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.1379, allocations: 96.47 kB / 308 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.138, allocations: 3.969 kB / 308.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.251e-05/0.138, allocations: 13 kB / 308.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1381, allocations: 18.5 kB / 308.1 MB, free: 10 MB / 282.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 0.0001069/0.1382, allocations: 150.6 kB / 308.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.1383, allocations: 26.48 kB / 308.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.1383, allocations: 36.41 kB / 308.3 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1383, allocations: 9.406 kB / 308.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.1383, allocations: 2.344 kB / 308.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1383, allocations: 5.781 kB / 308.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1396, allocations: 0.9875 MB / 309.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1396, allocations: 3.469 kB / 309.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1399, allocations: 88.78 kB / 309.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.1399, allocations: 10.09 kB / 309.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.14, allocations: 9.594 kB / 309.4 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.14, allocations: 12.33 kB / 309.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.14, allocations: 2.906 kB / 309.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.1406, allocations: 0.7109 MB / 310.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1406, allocations: 27.34 kB / 310.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1406, allocations: 19.12 kB / 310.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1407, allocations: 7.469 kB / 310.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1408, allocations: 37.67 kB / 310.2 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1408, allocations: 19.03 kB / 310.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.1409, allocations: 145.2 kB / 310.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1409, allocations: 0 / 310.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000275/0.1411, allocations: 72.78 kB / 310.5 MB, free: 8.461 MB / 282.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.0005912/0.1417, allocations: 1.258 MB / 311.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.142, allocations: 251.4 kB / 312 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.142, allocations: 4.188 kB / 312 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1422, allocations: 142.4 kB / 312.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.1427, allocations: 65.44 kB / 312.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.1449, allocations: 3.163 MB / 315.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.145, allocations: 155.5 kB / 315.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.947e-05/0.1451, allocations: 40.62 kB / 315.5 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.1452, allocations: 92.23 kB / 315.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1452, allocations: 0 / 315.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1666, allocations: 6.827 MB / 322.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.188, allocations: 9.328 kB / 322.4 MB, free: 2.672 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.862562902271748]