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.0008454/0.0008454, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.004823/0.004823, allocations: 167.7 kB / 24.7 MB, free: 9.422 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.8571/0.8571, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.102e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003022/0.003033, allocations: 3.209 MB / 301.6 MB, free: 296 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1213/0.1244, allocations: 0.8709 MB / 302.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.1246, allocations: 16.91 kB / 302.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.1248, allocations: 83.19 kB / 302.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1251, allocations: 151.5 kB / 302.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1255, allocations: 160 kB / 302.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.1259, allocations: 0.6222 MB / 303.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1261, allocations: 129.7 kB / 303.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.1265, allocations: 361.7 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.1267, allocations: 205.1 kB / 304.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.1268, allocations: 52.66 kB / 304.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.1269, allocations: 52.06 kB / 304.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.1269, allocations: 119.4 kB / 304.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1271, allocations: 194.8 kB / 304.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.1277, allocations: 0.6167 MB / 305.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1277, allocations: 2.625 kB / 305.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1277, allocations: 0 / 305.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.1277, allocations: 1.594 kB / 305.2 MB, free: 12.57 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00113/0.1288, allocations: 0.7819 MB / 306 MB, free: 12.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1289, allocations: 14.58 kB / 306 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.1289, allocations: 85.31 kB / 306.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.129, allocations: 56.02 kB / 306.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1294, allocations: 265.9 kB / 306.4 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.1294, allocations: 33.34 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.1295, allocations: 55.3 kB / 306.5 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.1302, allocations: 458 kB / 307 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1302, allocations: 1.922 kB / 307 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.1302, allocations: 20.47 kB / 307 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1302, allocations: 10.47 kB / 307 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.1309, allocations: 454.4 kB / 307.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1326, allocations: 1.234 MB / 308.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.1332, allocations: 0.4931 MB / 309.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.1337, allocations: 351.4 kB / 309.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1338, allocations: 9.266 kB / 309.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.1338, allocations: 40.22 kB / 309.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 1.774e-06/0.1338, allocations: 0 / 309.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.004535/0.1383, allocations: 3.005 MB / 312.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1384, allocations: 71.8 kB / 312.6 MB, free: 9.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1385, allocations: 253.6 kB / 312.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1386, allocations: 41.67 kB / 312.9 MB, free: 8.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.1386, allocations: 196.9 kB / 313.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.1388, allocations: 362 kB / 313.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.1389, allocations: 145.3 kB / 313.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.139, allocations: 363.7 kB / 314 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.1394, allocations: 273.3 kB / 314.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.1398, allocations: 346.2 kB / 314.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.1406, allocations: 0.6245 MB / 315.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1406, allocations: 1.094 kB / 315.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009332/0.1416, allocations: 0.7844 MB / 316 MB, free: 7.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1416, allocations: 6.266 kB / 316 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1416, allocations: 5.281 kB / 316 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1416, allocations: 4 kB / 316 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.142, allocations: 218.6 kB / 316.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1421, allocations: 9.781 kB / 316.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1422, allocations: 45.61 kB / 316.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.1423, allocations: 30.81 kB / 316.3 MB, free: 7.094 MB / 282.7 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.0001473/0.1424, allocations: 191.3 kB / 316.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1425, allocations: 55.58 kB / 316.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.1425, allocations: 76.97 kB / 316.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1426, allocations: 13.12 kB / 316.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.1426, allocations: 9.406 kB / 316.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1426, allocations: 4.641 kB / 316.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.1447, allocations: 1.832 MB / 318.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1447, allocations: 6.562 kB / 318.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.1451, allocations: 208.2 kB / 318.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/0.1451, allocations: 9.125 kB / 318.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.1452, allocations: 25.33 kB / 318.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.1452, allocations: 13.34 kB / 318.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1452, allocations: 8.844 kB / 318.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.1466, allocations: 1.366 MB / 320.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1467, allocations: 51.05 kB / 320.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.1467, allocations: 24.66 kB / 320.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1469, allocations: 51.08 kB / 320.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.147, allocations: 79.41 kB / 320.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.1471, allocations: 37.12 kB / 320.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1472, allocations: 176.3 kB / 320.5 MB, free: 4.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1472, allocations: 0 / 320.5 MB, free: 4.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000348/0.1475, allocations: 155.8 kB / 320.7 MB, free: 4.844 MB / 282.7 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.001439/0.1489, allocations: 1.932 MB / 322.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.1499, allocations: 0.6969 MB / 323.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1499, allocations: 9.281 kB / 323.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.1504, allocations: 418.9 kB / 323.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.1508, allocations: 125 kB / 323.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.1553, allocations: 5.156 MB / 329 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1555, allocations: 268.5 kB / 329.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.1557, allocations: 76.97 kB / 329.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.1559, allocations: 200.4 kB / 329.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1559, allocations: 0 / 329.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.1804, allocations: 12.75 MB / 342.3 MB, free: 1.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.167, allocations: 12 kB / 342.3 MB, free: 1.809 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.716066922061145]