Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001198/0.001198, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001333/0.001333, allocations: 212.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004796/0.248, allocations: 3.33 MB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.25, allocations: 0.912 MB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2502, allocations: 11.94 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2504, allocations: 83.16 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.2508, allocations: 170.5 kB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.2513, allocations: 167.7 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.252, allocations: 0.6306 MB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.2523, allocations: 142 kB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.2527, allocations: 267 kB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.2531, allocations: 282.8 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.2532, allocations: 48 kB / 437.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2533, allocations: 60 kB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2534, allocations: 119.6 kB / 437.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2536, allocations: 238.9 kB / 437.5 MB, free: 196 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.2544, allocations: 0.6241 MB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2544, allocations: 0 / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2544, allocations: 3.938 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.2544, allocations: 7.938 kB / 438.1 MB, free: 15.55 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.001558/0.2559, allocations: 0.7776 MB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.256, allocations: 12.03 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.2561, allocations: 86.7 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.2563, allocations: 68.56 kB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.2569, allocations: 289.5 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.2569, allocations: 37 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.257, allocations: 55.89 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.2578, allocations: 418.4 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2578, allocations: 8 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.2578, allocations: 16 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.2578, allocations: 12 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.2585, allocations: 383.8 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.2609, allocations: 1.239 MB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.2616, allocations: 475.9 kB / 442 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.2623, allocations: 316 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.2623, allocations: 16.58 kB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.2624, allocations: 43.16 kB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.914e-06/0.2624, allocations: 0 / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00668/0.269, allocations: 2.866 MB / 445.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2691, allocations: 64.41 kB / 445.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.2694, allocations: 288.5 kB / 445.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.2695, allocations: 45.7 kB / 445.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.2696, allocations: 197.6 kB / 445.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.2699, allocations: 388.6 kB / 446.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.2701, allocations: 150.7 kB / 446.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.2703, allocations: 362.8 kB / 446.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.2708, allocations: 237.9 kB / 446.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.2712, allocations: 313.4 kB / 447.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.2722, allocations: 0.5844 MB / 447.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2722, allocations: 4 kB / 447.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001184/0.2734, allocations: 0.7276 MB / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2734, allocations: 8 kB / 448.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2734, allocations: 0 / 448.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2734, allocations: 4 kB / 448.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.2742, allocations: 203.7 kB / 448.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2742, allocations: 4 kB / 448.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.2745, allocations: 28.05 kB / 448.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.2745, allocations: 32 kB / 448.8 MB, free: 4.629 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.0002555/0.2748, allocations: 205.5 kB / 449 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2749, allocations: 63.62 kB / 449.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.2751, allocations: 77.62 kB / 449.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2751, allocations: 8 kB / 449.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2751, allocations: 0 / 449.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.2751, allocations: 7.984 kB / 449.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.2779, allocations: 1.797 MB / 450.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2779, allocations: 4 kB / 451 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/0.2787, allocations: 191.7 kB / 451.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.2787, allocations: 8 kB / 451.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.2788, allocations: 31.98 kB / 451.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.2788, allocations: 8 kB / 451.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.2788, allocations: 7.938 kB / 451.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.2807, allocations: 1.295 MB / 452.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.2807, allocations: 63.67 kB / 452.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.2808, allocations: 28.12 kB / 452.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2812, allocations: 31.98 kB / 452.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.2813, allocations: 80.75 kB / 452.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.2813, allocations: 31.98 kB / 452.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2815, allocations: 199 kB / 452.9 MB, free: 324 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2815, allocations: 3.938 kB / 452.9 MB, free: 320 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.282, allocations: 160 kB / 453.1 MB, free: 160 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.002198/0.2842, allocations: 1.87 MB / 454.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.2853, allocations: 0.6333 MB / 455.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2853, allocations: 4.125 kB / 455.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.2859, allocations: 381.4 kB / 456 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.2867, allocations: 144.3 kB / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.2938, allocations: 5.257 MB / 461.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2941, allocations: 284.8 kB / 461.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.2944, allocations: 81.2 kB / 461.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.2947, allocations: 215.4 kB / 461.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2947, allocations: 0 / 461.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.3401, allocations: 13.69 MB / 475.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.21, allocations: 4 kB / 475.6 MB, free: 9.559 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.495351882011164]