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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001123, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009158, allocations: 98.03 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007923/0.0007924, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1909, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003992/0.1949, allocations: 3.55 MB / 377.4 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1964, allocations: 0.8922 MB / 378.3 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.1969, allocations: 11.81 kB / 378.3 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1971, allocations: 60.31 kB / 378.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1974, allocations: 126.5 kB / 378.4 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1978, allocations: 128.9 kB / 378.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.1984, allocations: 0.582 MB / 379.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1986, allocations: 167.7 kB / 379.3 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.199, allocations: 221.5 kB / 379.5 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1993, allocations: 261.1 kB / 379.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.1994, allocations: 34.38 kB / 379.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1995, allocations: 33.81 kB / 379.9 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.1996, allocations: 102.3 kB / 380 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1998, allocations: 251.7 kB / 380.2 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.2002, allocations: 0.565 MB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2002, allocations: 0 / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2002, allocations: 1.406 kB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.2002, allocations: 0 / 380.8 MB, free: 40.6 MB / 298.7 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.00146/0.2017, allocations: 0.8479 MB / 381.6 MB, free: 39.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2017, allocations: 13.56 kB / 381.6 MB, free: 39.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2019, allocations: 55.78 kB / 381.7 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2022, allocations: 325.1 kB / 382 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2022, allocations: 36.78 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.2023, allocations: 50.5 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.2031, allocations: 452.2 kB / 382.5 MB, free: 39.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2031, allocations: 1.25 kB / 382.5 MB, free: 39.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2031, allocations: 24.84 kB / 382.6 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2031, allocations: 11.41 kB / 382.6 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.2041, allocations: 457.5 kB / 383 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.206, allocations: 1.396 MB / 384.4 MB, free: 37.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/0.2068, allocations: 0.5441 MB / 385 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.2075, allocations: 374.5 kB / 385.3 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.2076, allocations: 8.625 kB / 385.3 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2076, allocations: 41.39 kB / 385.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/0.2076, allocations: 1.25 kB / 385.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.00581/0.2134, allocations: 3.127 MB / 388.5 MB, free: 34.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.2135, allocations: 64.41 kB / 388.6 MB, free: 34.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2136, allocations: 262.9 kB / 388.8 MB, free: 34.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.2137, allocations: 41.7 kB / 388.9 MB, free: 34.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2137, allocations: 193.2 kB / 389 MB, free: 33.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2139, allocations: 354.8 kB / 389.4 MB, free: 33.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.214, allocations: 146.7 kB / 389.5 MB, free: 33.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.2141, allocations: 362.8 kB / 389.9 MB, free: 33.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.2145, allocations: 273.8 kB / 390.2 MB, free: 32.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.215, allocations: 341.4 kB / 390.5 MB, free: 32.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.216, allocations: 0.6234 MB / 391.1 MB, free: 31.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.216, allocations: 4 kB / 391.1 MB, free: 31.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00115/0.2172, allocations: 0.7819 MB / 391.9 MB, free: 31.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2172, allocations: 7.938 kB / 391.9 MB, free: 31.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2172, allocations: 4 kB / 391.9 MB, free: 31.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2172, allocations: 12 kB / 391.9 MB, free: 31.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.2179, allocations: 203.8 kB / 392.1 MB, free: 30.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2179, allocations: 11.94 kB / 392.1 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2182, allocations: 47.95 kB / 392.2 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.2183, allocations: 27.98 kB / 392.2 MB, free: 30.78 MB / 298.7 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.000153/0.2184, allocations: 194.8 kB / 392.4 MB, free: 30.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.2185, allocations: 59.33 kB / 392.5 MB, free: 30.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.2186, allocations: 77.33 kB / 392.5 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2187, allocations: 8 kB / 392.5 MB, free: 30.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2187, allocations: 0 / 392.5 MB, free: 30.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2187, allocations: 3.984 kB / 392.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2209, allocations: 1.994 MB / 394.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2209, allocations: 4 kB / 394.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.2216, allocations: 199.7 kB / 394.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.2216, allocations: 12 kB / 394.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.2217, allocations: 31.92 kB / 394.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.2217, allocations: 11.94 kB / 394.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2217, allocations: 12.36 kB / 394.8 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/0.229, allocations: 5.095 MB / 399.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.2291, allocations: 132.5 kB / 400 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.2291, allocations: 20 kB / 400 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.2295, allocations: 51.97 kB / 400.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.2296, allocations: 72.78 kB / 400.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.2296, allocations: 35.98 kB / 400.2 MB, free: 22.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2297, allocations: 174 kB / 400.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2297, allocations: 3.938 kB / 400.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005599/0.2303, allocations: 212 kB / 400.6 MB, free: 22.06 MB / 298.7 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.0001047/0.2304, allocations: 131 kB / 400.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2315, allocations: 0.723 MB / 401.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2315, allocations: 0 / 401.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.2321, allocations: 442.6 kB / 401.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.2328, allocations: 123.2 kB / 402 MB, free: 20.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.235, allocations: 2.299 MB / 404.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.2353, allocations: 0.8882 MB / 405.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.2356, allocations: 88.97 kB / 405.3 MB, free: 17.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.2358, allocations: 67.41 kB / 405.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2358, allocations: 3.938 kB / 405.3 MB, free: 17.18 MB / 298.7 MB Notification: Performance of Templates: time 0.01024/0.2461, allocations: 7.785 MB / 413.1 MB, free: 9.418 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches