Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.001411/0.001411, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002282/0.002282, allocations: 205.1 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2326, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004751/0.2374, allocations: 3.329 MB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2394, allocations: 0.912 MB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.2397, allocations: 11.94 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.2399, allocations: 87.09 kB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.2403, allocations: 166.5 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2408, allocations: 171.6 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.2415, allocations: 0.6228 MB / 436.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.2418, allocations: 134 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.2422, allocations: 259.1 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.2425, allocations: 254.8 kB / 437.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.2426, allocations: 52 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2427, allocations: 56 kB / 437.2 MB, free: 404 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2428, allocations: 119.6 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.243, allocations: 243 kB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.2437, allocations: 0.6279 MB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2437, allocations: 0 / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2437, allocations: 4 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2438, allocations: 0 / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001575/0.2453, allocations: 0.7699 MB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2454, allocations: 19.97 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.2455, allocations: 86.66 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.2457, allocations: 76.55 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.2462, allocations: 289.5 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.2463, allocations: 37 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.2464, allocations: 51.95 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.2471, allocations: 422.4 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2471, allocations: 3.984 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.2472, allocations: 23.94 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.2472, allocations: 12 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.2479, allocations: 383.8 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.2503, allocations: 1.239 MB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.2511, allocations: 468.6 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/0.2518, allocations: 307.8 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.2518, allocations: 8.656 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.2518, allocations: 51.14 kB / 442.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.265e-06/0.2518, allocations: 4 kB / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006323/0.2582, allocations: 2.87 MB / 445.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2582, allocations: 64.34 kB / 445.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.2586, allocations: 284.5 kB / 445.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.2586, allocations: 45.7 kB / 445.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2588, allocations: 201.6 kB / 445.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.2591, allocations: 380.7 kB / 446.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.2593, allocations: 150.7 kB / 446.3 MB, free: 7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.2595, allocations: 366.8 kB / 446.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.2599, allocations: 245.8 kB / 446.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.2604, allocations: 313.4 kB / 447.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.2614, allocations: 0.5804 MB / 447.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2614, allocations: 0 / 447.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001218/0.2626, allocations: 0.7393 MB / 448.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2626, allocations: 4 kB / 448.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2626, allocations: 0 / 448.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2627, allocations: 4 kB / 448.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.2634, allocations: 199.7 kB / 448.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2634, allocations: 4 kB / 448.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.2637, allocations: 31.98 kB / 448.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.2637, allocations: 28 kB / 448.8 MB, free: 4.477 MB / 350.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 (117): * Single equations (assignments): 117 * 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.0002592/0.264, allocations: 209.6 kB / 449 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2641, allocations: 59.62 kB / 449.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.2643, allocations: 77.62 kB / 449.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2643, allocations: 12 kB / 449.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2643, allocations: 3.984 kB / 449.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.2643, allocations: 3.984 kB / 449.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.2671, allocations: 1.793 MB / 451 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2671, allocations: 4 kB / 451 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.2678, allocations: 188.3 kB / 451.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.2678, allocations: 12 kB / 451.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.2679, allocations: 31.98 kB / 451.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.2679, allocations: 15.88 kB / 451.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.2679, allocations: 4 kB / 451.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.2698, allocations: 1.291 MB / 452.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.2699, allocations: 67.62 kB / 452.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2699, allocations: 27.98 kB / 452.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.2703, allocations: 31.98 kB / 452.6 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2704, allocations: 84.88 kB / 452.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.2704, allocations: 35.98 kB / 452.7 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.2706, allocations: 195.1 kB / 452.9 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2706, allocations: 0 / 452.9 MB, free: 160 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.00048/0.2711, allocations: 156 kB / 453.1 MB, free: 4 kB / 350.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 (107): * Single equations (assignments): 107 * 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.0022/0.2733, allocations: 1.873 MB / 455 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.2744, allocations: 0.6333 MB / 455.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2744, allocations: 0 / 455.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.275, allocations: 386.2 kB / 456 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.2758, allocations: 140.8 kB / 456.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.2832, allocations: 5.262 MB / 461.4 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.2835, allocations: 280.8 kB / 461.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.2838, allocations: 81.2 kB / 461.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.2842, allocations: 215.4 kB / 461.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2842, allocations: 0 / 461.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/0.4098, allocations: 13.42 MB / 475.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.11, allocations: 10.42 kB / 475.4 MB, free: 9.621 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.739332213066518]