Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 95.08 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 184.5 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 7.219 kB / 300.7 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09348, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003135/0.09666, allocations: 2.845 MB / 354 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.09786, allocations: 0.8613 MB / 354.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.09802, allocations: 8 kB / 354.8 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.09813, allocations: 63.52 kB / 354.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.09842, allocations: 167.5 kB / 355.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.09878, allocations: 123.7 kB / 355.2 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.09924, allocations: 399.8 kB / 355.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.09951, allocations: 150.1 kB / 355.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.09975, allocations: 195.3 kB / 355.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1, allocations: 243 kB / 356.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.1001, allocations: 28 kB / 356.2 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.1001, allocations: 24 kB / 356.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.1002, allocations: 87.66 kB / 356.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.1003, allocations: 117.4 kB / 356.4 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1007, allocations: 434.7 kB / 356.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1007, allocations: 0 / 356.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1007, allocations: 0 / 356.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1007, allocations: 0 / 356.8 MB, free: 5.977 MB / 286.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.001431/0.1021, allocations: 0.7913 MB / 357.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1022, allocations: 8.031 kB / 357.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.1023, allocations: 59.3 kB / 357.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.1027, allocations: 322 kB / 358 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.1028, allocations: 37 kB / 358 MB, free: 4.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.1029, allocations: 55.98 kB / 358.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/0.1037, allocations: 462.4 kB / 358.5 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1038, allocations: 0 / 358.5 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.1038, allocations: 20 kB / 358.6 MB, free: 4.152 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1038, allocations: 12 kB / 358.6 MB, free: 4.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1049, allocations: 495.6 kB / 359.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1071, allocations: 1.398 MB / 360.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.108, allocations: 0.548 MB / 361 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.1081, allocations: 12.56 kB / 361 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1081, allocations: 39.12 kB / 361.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.874e-06/0.1081, allocations: 0 / 361.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006962/0.1151, allocations: 3.282 MB / 364.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1151, allocations: 64.34 kB / 364.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1154, allocations: 254.9 kB / 364.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.1154, allocations: 45.7 kB / 364.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1156, allocations: 189.3 kB / 364.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.1158, allocations: 350.7 kB / 365.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1158, allocations: 20 kB / 365.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.116, allocations: 362.8 kB / 365.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.1166, allocations: 285.9 kB / 365.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.1172, allocations: 365.3 kB / 366.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.1178, allocations: 314.9 kB / 366.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1178, allocations: 0 / 366.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001446/0.1193, allocations: 0.8132 MB / 367.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1193, allocations: 7.938 kB / 367.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1193, allocations: 4 kB / 367.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1193, allocations: 4 kB / 367.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.1201, allocations: 215.8 kB / 367.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1201, allocations: 4 kB / 367.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.1205, allocations: 55.97 kB / 367.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.1206, allocations: 31.98 kB / 367.7 MB, free: 10.83 MB / 302.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 (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.0002526/0.1208, allocations: 197.6 kB / 367.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.1209, allocations: 59.3 kB / 367.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1211, allocations: 73.39 kB / 368 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1211, allocations: 12 kB / 368 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1211, allocations: 7.984 kB / 368 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1211, allocations: 3.984 kB / 368 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.124, allocations: 2.014 MB / 370 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.124, allocations: 8.094 kB / 370 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.1248, allocations: 211.7 kB / 370.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1248, allocations: 11.95 kB / 370.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.1249, allocations: 27.98 kB / 370.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.1249, allocations: 11.94 kB / 370.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1249, allocations: 4 kB / 370.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.1272, allocations: 1.646 MB / 371.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1273, allocations: 124.5 kB / 372.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.1274, allocations: 28.19 kB / 372.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.1278, allocations: 63.95 kB / 372.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1279, allocations: 76.8 kB / 372.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.128, allocations: 32 kB / 372.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1282, allocations: 178 kB / 372.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1282, allocations: 0 / 372.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.1287, allocations: 155.9 kB / 372.6 MB, free: 5.574 MB / 302.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 (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 0.0001695/0.1289, allocations: 133.7 kB / 372.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1302, allocations: 0.7543 MB / 373.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1302, allocations: 0 / 373.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.131, allocations: 466.6 kB / 373.9 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.1316, allocations: 96.81 kB / 374 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.1341, allocations: 1.829 MB / 375.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1345, allocations: 0.8735 MB / 376.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.1348, allocations: 76.98 kB / 376.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.135, allocations: 55.42 kB / 376.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.135, allocations: 0 / 376.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Templates: time 0.009995/0.145, allocations: 5.734 MB / 382.6 MB, free: 11.49 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches