Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.00175/0.00175, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002069/0.002069, allocations: 187.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 48.08 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2685, allocations: 52.2 MB / 422.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005352/0.2739, allocations: 3.562 MB / 426.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2756, allocations: 0.8879 MB / 427.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.2759, allocations: 15.88 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.2761, allocations: 75.22 kB / 427.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2764, allocations: 154.5 kB / 427.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.2769, allocations: 155.7 kB / 427.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.2776, allocations: 0.5996 MB / 428.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.2779, allocations: 142 kB / 428.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.2782, allocations: 247.2 kB / 428.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.2786, allocations: 270.9 kB / 428.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.2787, allocations: 52 kB / 428.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2787, allocations: 52 kB / 428.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2789, allocations: 123.6 kB / 428.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.2791, allocations: 266.7 kB / 429.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.2798, allocations: 0.6033 MB / 429.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2798, allocations: 0 / 429.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2798, allocations: 0 / 429.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2798, allocations: 0 / 429.8 MB, free: 7.484 MB / 334.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.001605/0.2814, allocations: 0.7817 MB / 430.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2815, allocations: 12.03 kB / 430.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.2816, allocations: 86.7 kB / 430.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.2817, allocations: 56.61 kB / 430.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.2821, allocations: 273.1 kB / 431 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.2822, allocations: 37.31 kB / 431 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.2823, allocations: 48.33 kB / 431.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.2832, allocations: 466.4 kB / 431.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2832, allocations: 0 / 431.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.2832, allocations: 16 kB / 431.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2832, allocations: 12 kB / 431.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2842, allocations: 455.7 kB / 432 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.2868, allocations: 1.328 MB / 433.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.2878, allocations: 0.5103 MB / 433.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/0.2885, allocations: 348 kB / 434.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.2886, allocations: 8.656 kB / 434.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.2886, allocations: 39.22 kB / 434.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.2886, allocations: 0 / 434.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007222/0.2959, allocations: 3.016 MB / 437.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.2959, allocations: 64.41 kB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.2962, allocations: 248.2 kB / 437.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.2962, allocations: 45.7 kB / 437.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2964, allocations: 197.5 kB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.2967, allocations: 368.7 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.2969, allocations: 142.7 kB / 438.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2971, allocations: 362.8 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.2976, allocations: 277.8 kB / 438.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/0.2983, allocations: 345.4 kB / 439.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.2995, allocations: 0.6233 MB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2995, allocations: 0 / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001435/0.3009, allocations: 0.79 MB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3009, allocations: 8 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3009, allocations: 3.938 kB / 440.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3009, allocations: 4 kB / 440.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.3017, allocations: 219.7 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3018, allocations: 4 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.3021, allocations: 39.97 kB / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.3021, allocations: 31.98 kB / 441 MB, free: 12.06 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 (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.0002439/0.3024, allocations: 193.6 kB / 441.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.3025, allocations: 59.67 kB / 441.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.3026, allocations: 77.33 kB / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3027, allocations: 8 kB / 441.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3027, allocations: 0 / 441.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3027, allocations: 11.97 kB / 441.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.3058, allocations: 1.934 MB / 443.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.3059, allocations: 11.94 kB / 443.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.3066, allocations: 207.7 kB / 443.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.3066, allocations: 8 kB / 443.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.3067, allocations: 31.88 kB / 443.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.3067, allocations: 11.98 kB / 443.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3067, allocations: 7.938 kB / 443.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.309, allocations: 1.377 MB / 444.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.3091, allocations: 51.66 kB / 444.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.3091, allocations: 28 kB / 445 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.3095, allocations: 47.95 kB / 445 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3096, allocations: 80.75 kB / 445.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.3097, allocations: 28 kB / 445.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3099, allocations: 183.1 kB / 445.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3099, allocations: 0 / 445.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.3104, allocations: 156 kB / 445.5 MB, free: 7.367 MB / 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 (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.002604/0.313, allocations: 1.944 MB / 447.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.3143, allocations: 0.6918 MB / 448.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3143, allocations: 4.125 kB / 448.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007325/0.3151, allocations: 422.5 kB / 448.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.3159, allocations: 135.7 kB / 448.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.3237, allocations: 5.277 MB / 453.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.3243, allocations: 0.8684 MB / 454.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.3246, allocations: 80.97 kB / 454.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.3249, allocations: 191.4 kB / 455.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3249, allocations: 4 kB / 455.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.3715, allocations: 12.3 MB / 467.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 11.94 kB / 467.4 MB, free: 1.336 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.094807790126652]