Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001418/0.001418, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.224/1.224, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007069/0.0007069, allocations: 98.28 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002325/0.2122, allocations: 3.001 MB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.2131, allocations: 0.8665 MB / 378.4 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2133, allocations: 16.69 kB / 378.4 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2134, allocations: 54.66 kB / 378.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.2136, allocations: 127.8 kB / 378.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2138, allocations: 109.1 kB / 378.7 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.2142, allocations: 0.5465 MB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2144, allocations: 158.4 kB / 379.4 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2146, allocations: 198 kB / 379.6 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2148, allocations: 236.2 kB / 379.8 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2149, allocations: 26.81 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.215, allocations: 27.03 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.215, allocations: 89.92 kB / 380 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.2151, allocations: 117.1 kB / 380.1 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.2154, allocations: 431.8 kB / 380.5 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2154, allocations: 0 / 380.5 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2154, allocations: 0 / 380.5 MB, free: 40.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2154, allocations: 4.969 kB / 380.5 MB, free: 40.93 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.001242/0.2166, allocations: 0.806 MB / 381.3 MB, free: 40.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2167, allocations: 8.5 kB / 381.3 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.2168, allocations: 55.41 kB / 381.4 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.217, allocations: 316.6 kB / 381.7 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.2171, allocations: 31.06 kB / 381.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.2171, allocations: 50.75 kB / 381.8 MB, free: 39.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.218, allocations: 469.5 kB / 382.2 MB, free: 39.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.218, allocations: 5.062 kB / 382.3 MB, free: 39.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.218, allocations: 20.03 kB / 382.3 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.2181, allocations: 10.62 kB / 382.3 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.219, allocations: 493.5 kB / 382.8 MB, free: 39.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.2208, allocations: 1.393 MB / 384.2 MB, free: 38.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.2217, allocations: 0.555 MB / 384.7 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.2224, allocations: 388.9 kB / 385.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2224, allocations: 11.98 kB / 385.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2225, allocations: 46.41 kB / 385.1 MB, free: 37.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.164e-06/0.2225, allocations: 0 / 385.1 MB, free: 37.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006125/0.2286, allocations: 3.289 MB / 388.4 MB, free: 34.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2286, allocations: 68.39 kB / 388.5 MB, free: 34.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2288, allocations: 243 kB / 388.7 MB, free: 34.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.2289, allocations: 45.7 kB / 388.8 MB, free: 34.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2289, allocations: 193.2 kB / 389 MB, free: 34.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.2291, allocations: 350.8 kB / 389.3 MB, free: 33.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.2291, allocations: 16 kB / 389.3 MB, free: 33.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.2292, allocations: 362.8 kB / 389.7 MB, free: 33.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.2297, allocations: 289.8 kB / 390 MB, free: 33.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.2302, allocations: 369.3 kB / 390.3 MB, free: 32.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.2308, allocations: 314.9 kB / 390.6 MB, free: 32.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2308, allocations: 0 / 390.6 MB, free: 32.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001196/0.232, allocations: 0.8172 MB / 391.5 MB, free: 31.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.232, allocations: 5.094 kB / 391.5 MB, free: 31.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.232, allocations: 0 / 391.5 MB, free: 31.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.232, allocations: 11.95 kB / 391.5 MB, free: 31.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.2328, allocations: 215.7 kB / 391.7 MB, free: 31.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2328, allocations: 4 kB / 391.7 MB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2331, allocations: 63.95 kB / 391.7 MB, free: 31.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.2332, allocations: 24 kB / 391.8 MB, free: 31.3 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 (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 initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.2333, allocations: 201.6 kB / 392 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.2334, allocations: 55.42 kB / 392 MB, free: 31.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2335, allocations: 69.41 kB / 392.1 MB, free: 30.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2335, allocations: 12 kB / 392.1 MB, free: 30.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2336, allocations: 7.891 kB / 392.1 MB, free: 30.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2336, allocations: 7.969 kB / 392.1 MB, free: 30.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2358, allocations: 2.025 MB / 394.1 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2358, allocations: 4 kB / 394.1 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.2366, allocations: 216.3 kB / 394.4 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2366, allocations: 15.88 kB / 394.4 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.2366, allocations: 31.98 kB / 394.4 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2367, allocations: 8 kB / 394.4 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2367, allocations: 7.938 kB / 394.4 MB, free: 28.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2384, allocations: 1.426 MB / 395.8 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2384, allocations: 128.4 kB / 396 MB, free: 26.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.2385, allocations: 24.06 kB / 396 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.2389, allocations: 59.97 kB / 396.1 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.239, allocations: 72.8 kB / 396.1 MB, free: 26.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.239, allocations: 35.98 kB / 396.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.2391, allocations: 178 kB / 396.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0 / 396.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.2395, allocations: 152 kB / 396.5 MB, free: 26.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.755e-05/0.2396, allocations: 134.8 kB / 396.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.2407, allocations: 0.7582 MB / 397.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2407, allocations: 0 / 397.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.2414, allocations: 462.7 kB / 397.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.242, allocations: 116.8 kB / 397.9 MB, free: 24.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2439, allocations: 1.869 MB / 399.8 MB, free: 22.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2441, allocations: 0.8725 MB / 400.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2443, allocations: 63.42 kB / 400.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2443, allocations: 0 / 400.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of Templates: time 0.006934/0.2512, allocations: 7.169 MB / 407.9 MB, free: 14.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches