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.00147/0.00147, allocations: 110 kB / 20.43 MB, free: 1.453 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.001614/0.001614, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.002211/0.002211, allocations: 55.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2598, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005225/0.265, allocations: 3.692 MB / 434.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.2671, allocations: 0.9548 MB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.2675, allocations: 15.88 kB / 435.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.2678, allocations: 83.16 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.2682, allocations: 162.5 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.2688, allocations: 163.7 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.2697, allocations: 0.6345 MB / 436.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.2701, allocations: 142 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.2706, allocations: 263.1 kB / 437.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.271, allocations: 290.8 kB / 437.6 MB, free: 284 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.2712, allocations: 48 kB / 437.6 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2714, allocations: 56 kB / 437.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2715, allocations: 123.5 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.2719, allocations: 278.8 kB / 438 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.2727, allocations: 0.6306 MB / 438.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2727, allocations: 4 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2727, allocations: 0 / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.2727, allocations: 0 / 438.7 MB, free: 15.14 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.001677/0.2744, allocations: 0.7737 MB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2744, allocations: 8.031 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.2746, allocations: 90.7 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2748, allocations: 72.55 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.2754, allocations: 289.5 kB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.2754, allocations: 37 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.2755, allocations: 51.95 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.2763, allocations: 422.3 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2763, allocations: 4 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.2763, allocations: 16 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2763, allocations: 15.98 kB / 440.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.2771, allocations: 391.8 kB / 440.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.2797, allocations: 1.336 MB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.2805, allocations: 483.2 kB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.2811, allocations: 303.8 kB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.2812, allocations: 16.64 kB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.2812, allocations: 51.09 kB / 443 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.545e-06/0.2812, allocations: 0 / 443 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006622/0.2879, allocations: 2.865 MB / 445.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2879, allocations: 64.41 kB / 445.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.2882, allocations: 288.5 kB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.2883, allocations: 41.7 kB / 446.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2885, allocations: 205.6 kB / 446.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.2888, allocations: 380.7 kB / 446.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.289, allocations: 146.7 kB / 447 MB, free: 6.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2891, allocations: 362.8 kB / 447.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.2896, allocations: 241.9 kB / 447.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.2902, allocations: 321.4 kB / 447.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2912, allocations: 0.5766 MB / 448.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2912, allocations: 0 / 448.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00135/0.2925, allocations: 0.7354 MB / 449.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.2926, allocations: 8.062 kB / 449.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.2926, allocations: 7.984 kB / 449.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.2926, allocations: 4 kB / 449.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.2934, allocations: 199.7 kB / 449.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.2934, allocations: 4 kB / 449.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.2938, allocations: 31.98 kB / 449.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.2938, allocations: 31.98 kB / 449.5 MB, free: 4.105 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.0003043/0.2941, allocations: 206.2 kB / 449.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2943, allocations: 59.67 kB / 449.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.2945, allocations: 77.62 kB / 449.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2945, allocations: 12 kB / 449.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.2945, allocations: 0 / 449.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2945, allocations: 3.984 kB / 449.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.2976, allocations: 1.902 MB / 451.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.2977, allocations: 4 kB / 451.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/0.2984, allocations: 191.7 kB / 451.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.2985, allocations: 12.59 kB / 451.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.2985, allocations: 27.98 kB / 451.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.2985, allocations: 8 kB / 451.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.2985, allocations: 11.94 kB / 452 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.3005, allocations: 1.295 MB / 453.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3007, allocations: 55.5 kB / 453.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.3008, allocations: 28.05 kB / 453.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3011, allocations: 35.98 kB / 453.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3013, allocations: 76.86 kB / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.3013, allocations: 40.11 kB / 453.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.3017, allocations: 195.1 kB / 453.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 7.938 kB / 453.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.3023, allocations: 156 kB / 453.8 MB, free: 15.53 MB / 366.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.002346/0.3046, allocations: 1.869 MB / 455.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3059, allocations: 0.6333 MB / 456.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3059, allocations: 4 kB / 456.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.3065, allocations: 382.6 kB / 456.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.3074, allocations: 143.8 kB / 456.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.3154, allocations: 5.27 MB / 462.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.3159, allocations: 0.8764 MB / 463 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003314/0.3163, allocations: 81.2 kB / 463.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.3166, allocations: 219.4 kB / 463.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3166, allocations: 0 / 463.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.3665, allocations: 13.06 MB / 476.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.07, allocations: 8.047 kB / 476.4 MB, free: 8.871 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.515254764119163]