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.001325/0.001325, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001453/0.001453, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001681/0.001681, allocations: 47.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005782/0.111, allocations: 3.67 MB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1131, allocations: 0.9548 MB / 430.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.1136, allocations: 15.88 kB / 431 MB, free: 108 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1139, allocations: 83.16 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.209/0.3229, allocations: 160.7 kB / 431.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3234, allocations: 163.5 kB / 431.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006134/0.3241, allocations: 0.6269 MB / 432 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3243, allocations: 140.9 kB / 432.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3246, allocations: 266.1 kB / 432.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.3249, allocations: 280.8 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.325, allocations: 55.09 kB / 432.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3251, allocations: 62.72 kB / 432.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.3252, allocations: 117.5 kB / 432.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3254, allocations: 286 kB / 433.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.326, allocations: 0.6216 MB / 433.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.326, allocations: 0 / 433.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.326, allocations: 1.438 kB / 433.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.326, allocations: 1.188 kB / 433.8 MB, free: 7.262 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.001335/0.3273, allocations: 0.8539 MB / 434.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3274, allocations: 13.34 kB / 434.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/0.3275, allocations: 93.31 kB / 434.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3276, allocations: 70.33 kB / 434.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.3281, allocations: 346.3 kB / 435.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.3281, allocations: 40.19 kB / 435.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.3282, allocations: 55.61 kB / 435.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.3289, allocations: 419.9 kB / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3289, allocations: 2.797 kB / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.329, allocations: 18.03 kB / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.329, allocations: 12.06 kB / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.3296, allocations: 389.5 kB / 436.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.3319, allocations: 1.385 MB / 437.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.3327, allocations: 485.9 kB / 437.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.3334, allocations: 304.4 kB / 438.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/0.3334, allocations: 16.81 kB / 438.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3335, allocations: 42.92 kB / 438.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.354e-06/0.3335, allocations: 0 / 438.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006242/0.3397, allocations: 3.021 MB / 441.3 MB, free: 4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3398, allocations: 63.62 kB / 441.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.34, allocations: 279 kB / 441.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3401, allocations: 41.23 kB / 441.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.3402, allocations: 212.8 kB / 441.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3403, allocations: 376.8 kB / 442.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3405, allocations: 149.5 kB / 442.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.3406, allocations: 367.4 kB / 442.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.341, allocations: 237.4 kB / 443 MB, free: 2.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.3415, allocations: 318.1 kB / 443.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.3424, allocations: 0.5712 MB / 443.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3424, allocations: 7.562 kB / 443.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001104/0.3435, allocations: 0.7396 MB / 444.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3435, allocations: 6.875 kB / 444.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3435, allocations: 1.156 kB / 444.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3435, allocations: 4.938 kB / 444.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.3442, allocations: 202.4 kB / 444.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3442, allocations: 4.844 kB / 444.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3446, allocations: 31.08 kB / 444.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.3446, allocations: 30.48 kB / 444.9 MB, free: 2.004 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.0002111/0.3448, allocations: 197.5 kB / 445.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.3449, allocations: 60.64 kB / 445.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.3451, allocations: 78.42 kB / 445.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.3451, allocations: 10.5 kB / 445.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.3451, allocations: 1.375 kB / 445.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3451, allocations: 6.328 kB / 445.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.3477, allocations: 1.94 MB / 447.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.3477, allocations: 8.734 kB / 447.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.3485, allocations: 194.3 kB / 447.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3485, allocations: 14.36 kB / 447.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.3486, allocations: 29.58 kB / 447.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.3486, allocations: 9.734 kB / 447.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.3486, allocations: 9.531 kB / 447.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3504, allocations: 1.312 MB / 448.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3506, allocations: 135.2 kB / 448.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.3507, allocations: 28.02 kB / 448.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.351, allocations: 30.52 kB / 448.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3511, allocations: 75.86 kB / 449 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.3512, allocations: 35.41 kB / 449 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3514, allocations: 196 kB / 449.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3514, allocations: 0 / 449.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005525/0.352, allocations: 158.5 kB / 449.4 MB, free: 15.67 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.002246/0.3542, allocations: 1.869 MB / 451.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.3554, allocations: 0.6335 MB / 451.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3554, allocations: 0 / 451.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.356, allocations: 384.9 kB / 452.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.3569, allocations: 136.5 kB / 452.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00757/0.3645, allocations: 5.262 MB / 457.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.3651, allocations: 0.8829 MB / 458.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003714/0.3654, allocations: 83.86 kB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.3658, allocations: 214.3 kB / 458.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3658, allocations: 0 / 458.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.4086, allocations: 12.41 MB / 471.2 MB, free: 2.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.306, allocations: 4 kB / 471.3 MB, free: 2.41 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.662435844074935]