Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.001332/0.001332, allocations: 116.9 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001474/0.001474, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.545/1.545, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] 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.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 47.94 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1029, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005117/0.108, allocations: 3.535 MB / 394.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1102, allocations: 0.912 MB / 395.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.1105, allocations: 15.88 kB / 395.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1108, allocations: 79.22 kB / 395.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1111, allocations: 154.6 kB / 396.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1116, allocations: 159.7 kB / 396.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.1123, allocations: 0.5918 MB / 396.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.1126, allocations: 149.4 kB / 397 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.113, allocations: 247.2 kB / 397.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.1133, allocations: 274.9 kB / 397.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.1134, allocations: 48 kB / 397.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.1135, allocations: 52 kB / 397.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1136, allocations: 123.6 kB / 397.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.1138, allocations: 270.7 kB / 398 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.1146, allocations: 0.5914 MB / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1146, allocations: 0 / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1146, allocations: 0 / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1146, allocations: 0 / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002009/0.1166, allocations: 0.8648 MB / 399.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.263e-05/0.1167, allocations: 8.031 kB / 399.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.1168, allocations: 86.7 kB / 399.5 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1169, allocations: 56.61 kB / 399.6 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.1176, allocations: 339.3 kB / 399.9 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.1177, allocations: 37.36 kB / 400 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1178, allocations: 52.41 kB / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1189, allocations: 454.4 kB / 400.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.1189, allocations: 4 kB / 400.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.1189, allocations: 20 kB / 400.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.1189, allocations: 12 kB / 400.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.12, allocations: 455.7 kB / 400.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.1225, allocations: 1.371 MB / 402.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.1235, allocations: 0.5089 MB / 402.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.1243, allocations: 346.9 kB / 403.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.1244, allocations: 8.562 kB / 403.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.1244, allocations: 43.12 kB / 403.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.914e-06/0.1244, allocations: 0 / 403.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007686/0.1321, allocations: 3.163 MB / 406.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1322, allocations: 60.41 kB / 406.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.1325, allocations: 247 kB / 406.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.1325, allocations: 45.7 kB / 406.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1327, allocations: 193.6 kB / 406.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.133, allocations: 368.8 kB / 407.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.1332, allocations: 146.7 kB / 407.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1335, allocations: 366.8 kB / 407.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.1341, allocations: 269.9 kB / 408 MB, free: 7.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.1348, allocations: 349.4 kB / 408.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1361, allocations: 0.6234 MB / 409 MB, free: 6.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1361, allocations: 4 kB / 409 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001619/0.1377, allocations: 0.7861 MB / 409.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1377, allocations: 8 kB / 409.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1377, allocations: 7.938 kB / 409.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1378, allocations: 4 kB / 409.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.1386, allocations: 211.7 kB / 410 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1386, allocations: 4 kB / 410 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.139, allocations: 43.95 kB / 410 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.139, allocations: 32 kB / 410.1 MB, free: 5.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002742/0.1393, allocations: 189.7 kB / 410.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1394, allocations: 59.67 kB / 410.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1396, allocations: 77.33 kB / 410.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1396, allocations: 12 kB / 410.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1396, allocations: 0 / 410.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.1396, allocations: 7.969 kB / 410.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.143, allocations: 1.972 MB / 412.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.143, allocations: 7.938 kB / 412.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/0.1438, allocations: 199.8 kB / 412.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.1438, allocations: 12.56 kB / 412.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.1439, allocations: 31.86 kB / 412.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.1439, allocations: 12 kB / 412.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/0.1439, allocations: 11.94 kB / 412.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.1463, allocations: 1.369 MB / 414 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1464, allocations: 132.7 kB / 414.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.1465, allocations: 32 kB / 414.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.1469, allocations: 43.95 kB / 414.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.147, allocations: 84.78 kB / 414.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.1471, allocations: 27.98 kB / 414.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1473, allocations: 178 kB / 414.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1473, allocations: 0 / 414.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.1478, allocations: 156 kB / 414.7 MB, free: 0.8359 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.002883/0.1507, allocations: 1.944 MB / 416.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.1521, allocations: 0.6996 MB / 417.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1521, allocations: 0 / 417.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.1529, allocations: 422.6 kB / 417.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.1537, allocations: 124.7 kB / 417.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.1621, allocations: 5.271 MB / 423.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.1627, allocations: 0.8684 MB / 424 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.163, allocations: 80.97 kB / 424.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.1633, allocations: 195.4 kB / 424.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1633, allocations: 0 / 424.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/0.2204, allocations: 11.65 MB / 435.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9, allocations: 7.938 kB / 435.9 MB, free: 11.2 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable innerContactA.s_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactA.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable innerContactB.s_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactB.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable outerContactB.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable outerContactB.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.647737869992852]