Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001271/0.001271, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001412/0.001412, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 58.75 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2168, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003707/0.2205, allocations: 3.202 MB / 399.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2218, allocations: 0.8812 MB / 400.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.222, allocations: 16.72 kB / 400.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.2222, allocations: 81.33 kB / 400.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.2224, allocations: 144.6 kB / 400.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2228, allocations: 170.3 kB / 400.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.2233, allocations: 0.5961 MB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.2235, allocations: 135 kB / 401.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.2238, allocations: 241.6 kB / 401.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.224, allocations: 246.3 kB / 402 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.2241, allocations: 50.22 kB / 402.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.2242, allocations: 51.06 kB / 402.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.2243, allocations: 117.1 kB / 402.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.2245, allocations: 229 kB / 402.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.225, allocations: 0.6043 MB / 403.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.225, allocations: 4.172 kB / 403.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.225, allocations: 0 / 403.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.225, allocations: 0 / 403.1 MB, free: 4.824 MB / 318.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.001363/0.2264, allocations: 0.7808 MB / 403.9 MB, free: 4.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2264, allocations: 14.28 kB / 403.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.068e-05/0.2265, allocations: 87.69 kB / 404 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.2266, allocations: 57.05 kB / 404 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.227, allocations: 268.2 kB / 404.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.227, allocations: 37 kB / 404.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.2271, allocations: 50.36 kB / 404.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.2279, allocations: 460.5 kB / 404.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.2279, allocations: 2.281 kB / 404.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.228, allocations: 19.56 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.228, allocations: 11.5 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.229, allocations: 455.8 kB / 405.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.231, allocations: 1.23 MB / 406.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.2318, allocations: 0.4984 MB / 407 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.2326, allocations: 352.8 kB / 407.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.2326, allocations: 10.73 kB / 407.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.2326, allocations: 41.91 kB / 407.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/0.2326, allocations: 0 / 407.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007225/0.2398, allocations: 3.008 MB / 410.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2399, allocations: 62.75 kB / 410.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.2401, allocations: 252.7 kB / 410.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.2401, allocations: 41.2 kB / 410.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.2402, allocations: 195.8 kB / 411 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2404, allocations: 369.8 kB / 411.3 MB, free: 452 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2406, allocations: 146.9 kB / 411.5 MB, free: 360 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.2406, allocations: 361.6 kB / 411.8 MB, free: 0 / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.2412, allocations: 276.6 kB / 412.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.2419, allocations: 348.2 kB / 412.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2431, allocations: 0.6195 MB / 413 MB, free: 15.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2431, allocations: 1.344 kB / 413 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001524/0.2446, allocations: 0.7896 MB / 413.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2446, allocations: 4.656 kB / 413.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2446, allocations: 5.094 kB / 413.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2447, allocations: 5.219 kB / 413.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.2454, allocations: 209.5 kB / 414.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2454, allocations: 4.656 kB / 414.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.2458, allocations: 47.98 kB / 414.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.2459, allocations: 31.67 kB / 414.1 MB, free: 14.89 MB / 334.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.0002697/0.2461, allocations: 192.6 kB / 414.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.2462, allocations: 54.23 kB / 414.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.2464, allocations: 76.64 kB / 414.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2464, allocations: 10.19 kB / 414.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.2464, allocations: 0 / 414.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2465, allocations: 5.484 kB / 414.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.2496, allocations: 1.841 MB / 416.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2496, allocations: 5.5 kB / 416.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.2504, allocations: 209.2 kB / 416.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.2504, allocations: 12.94 kB / 416.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.2505, allocations: 26.03 kB / 416.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.2505, allocations: 17.11 kB / 416.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2505, allocations: 5 kB / 416.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.2528, allocations: 1.38 MB / 418 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.253, allocations: 47.39 kB / 418 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.253, allocations: 28.62 kB / 418 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.2534, allocations: 52.27 kB / 418.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2536, allocations: 80.66 kB / 418.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.2536, allocations: 30.61 kB / 418.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2538, allocations: 178 kB / 418.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2538, allocations: 0 / 418.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.2543, allocations: 155.8 kB / 418.5 MB, free: 12.15 MB / 334.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.002761/0.2571, allocations: 1.945 MB / 420.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.2586, allocations: 0.7035 MB / 421.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2586, allocations: 0 / 421.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007811/0.2594, allocations: 414 kB / 421.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.2602, allocations: 137.6 kB / 421.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.2686, allocations: 5.265 MB / 427 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2689, allocations: 272.5 kB / 427.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.2693, allocations: 80.91 kB / 427.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.2696, allocations: 199.4 kB / 427.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2696, allocations: 0 / 427.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/0.5189, allocations: 12.61 MB / 440.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.28, allocations: 0 / 440.1 MB, free: 6.484 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.58965648105368]