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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 121.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 189.2 kB / 21.39 MB, free: 1.672 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.451/1.451, allocations: 207.6 MB / 231.8 MB, free: 4.227 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 59.91 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09626, allocations: 49.11 MB / 391.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005109/0.1014, allocations: 3.535 MB / 394.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1032, allocations: 0.9081 MB / 395.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.1036, allocations: 11.94 kB / 395.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1038, allocations: 83.16 kB / 395.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1041, allocations: 150.7 kB / 396 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.1046, allocations: 159.7 kB / 396.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1053, allocations: 0.5957 MB / 396.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.1055, allocations: 145.5 kB / 396.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.1058, allocations: 239.2 kB / 397.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.1062, allocations: 274.8 kB / 397.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.1062, allocations: 52 kB / 397.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.1063, allocations: 52 kB / 397.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1064, allocations: 123.6 kB / 397.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1067, allocations: 274.6 kB / 397.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.1074, allocations: 0.5874 MB / 398.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1074, allocations: 0 / 398.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1074, allocations: 8 kB / 398.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1074, allocations: 0 / 398.5 MB, free: 1.574 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.001691/0.1091, allocations: 0.857 MB / 399.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1091, allocations: 12.03 kB / 399.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.728e-05/0.1092, allocations: 86.7 kB / 399.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.1093, allocations: 56.61 kB / 399.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.1098, allocations: 335.4 kB / 399.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.1099, allocations: 41.38 kB / 399.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.11, allocations: 52.33 kB / 400 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.1109, allocations: 458.4 kB / 400.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.1109, allocations: 4 kB / 400.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1109, allocations: 20 kB / 400.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1109, allocations: 8 kB / 400.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.112, allocations: 459.6 kB / 400.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1143, allocations: 1.378 MB / 402.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.1152, allocations: 0.5012 MB / 402.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.116, allocations: 346.9 kB / 403.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.116, allocations: 12.5 kB / 403.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.116, allocations: 39.12 kB / 403.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.974e-06/0.116, allocations: 0 / 403.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007151/0.1232, allocations: 3.156 MB / 406.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1233, allocations: 64.41 kB / 406.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1235, allocations: 255 kB / 406.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.1236, allocations: 41.7 kB / 406.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1237, allocations: 193.6 kB / 406.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.124, allocations: 368.8 kB / 407.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.1242, allocations: 146.7 kB / 407.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1244, allocations: 362.8 kB / 407.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.125, allocations: 277.8 kB / 408 MB, free: 7.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.1256, allocations: 345.4 kB / 408.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.1269, allocations: 0.6196 MB / 408.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1269, allocations: 0 / 408.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001502/0.1284, allocations: 0.7861 MB / 409.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.1284, allocations: 8 kB / 409.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1284, allocations: 3.938 kB / 409.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1284, allocations: 4 kB / 409.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.1292, allocations: 211.7 kB / 409.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.1292, allocations: 4 kB / 409.9 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.1296, allocations: 55.95 kB / 410 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.1296, allocations: 24 kB / 410 MB, free: 5.738 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.00025/0.1299, allocations: 197.6 kB / 410.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.13, allocations: 55.67 kB / 410.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.1301, allocations: 73.34 kB / 410.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.1302, allocations: 11.98 kB / 410.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1302, allocations: 4 kB / 410.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1302, allocations: 3.984 kB / 410.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.1335, allocations: 1.972 MB / 412.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1335, allocations: 7.938 kB / 412.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/0.1343, allocations: 208.3 kB / 412.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.1343, allocations: 8 kB / 412.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.1343, allocations: 31.92 kB / 412.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.1344, allocations: 11.94 kB / 412.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.1344, allocations: 8 kB / 412.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.1367, allocations: 1.377 MB / 414 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.1368, allocations: 136.8 kB / 414.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.1369, allocations: 27.92 kB / 414.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1373, allocations: 51.95 kB / 414.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1375, allocations: 72.8 kB / 414.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.1375, allocations: 31.98 kB / 414.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1377, allocations: 182 kB / 414.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1377, allocations: 0 / 414.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.1382, allocations: 156 kB / 414.6 MB, free: 0.9102 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.002704/0.1409, allocations: 1.94 MB / 416.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.1424, allocations: 0.6996 MB / 417.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1424, allocations: 0 / 417.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.1432, allocations: 414.3 kB / 417.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.144, allocations: 129.1 kB / 417.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.1522, allocations: 5.275 MB / 423.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.1527, allocations: 0.8684 MB / 423.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.153, allocations: 80.91 kB / 424 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.1534, allocations: 199.4 kB / 424.2 MB, free: 7 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1534, allocations: 0 / 424.2 MB, free: 7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.1954, allocations: 11.66 MB / 435.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.038, allocations: 8 kB / 435.9 MB, free: 11.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.489315015729517]