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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001879/0.001879, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 47.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09876, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004314/0.1031, allocations: 3.52 MB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1047, allocations: 0.912 MB / 379.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.1049, allocations: 8 kB / 379.6 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1052, allocations: 83.17 kB / 379.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.203/0.3082, allocations: 136.2 kB / 379.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.3089, allocations: 154.5 kB / 379.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.3095, allocations: 0.5948 MB / 380.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.3098, allocations: 190 kB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.3101, allocations: 249.3 kB / 381 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.3105, allocations: 276.1 kB / 381.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-05/0.3106, allocations: 51.19 kB / 381.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.3107, allocations: 50.62 kB / 381.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3108, allocations: 120 kB / 381.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.3111, allocations: 270 kB / 381.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008173/0.312, allocations: 0.5993 MB / 382.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.312, allocations: 0.7031 kB / 382.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.312, allocations: 0 / 382.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.312, allocations: 0.9375 kB / 382.3 MB, free: 9.457 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.001877/0.3139, allocations: 0.8445 MB / 383.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3139, allocations: 9.734 kB / 383.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3141, allocations: 56.25 kB / 383.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.3146, allocations: 333 kB / 383.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.3147, allocations: 36.95 kB / 383.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3148, allocations: 47.8 kB / 383.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3158, allocations: 456.4 kB / 384.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3159, allocations: 9.828 kB / 384.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.3159, allocations: 17.5 kB / 384.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.3159, allocations: 12.59 kB / 384.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.317, allocations: 466.5 kB / 384.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.3195, allocations: 1.375 MB / 385.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3205, allocations: 0.542 MB / 386.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008501/0.3214, allocations: 371.8 kB / 386.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3215, allocations: 13.11 kB / 386.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3215, allocations: 39.27 kB / 386.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.166e-06/0.3215, allocations: 4.875 kB / 386.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007562/0.3291, allocations: 3.132 MB / 390 MB, free: 6.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3291, allocations: 66.38 kB / 390.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.3294, allocations: 251.8 kB / 390.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.3295, allocations: 41.86 kB / 390.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3296, allocations: 197.4 kB / 390.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.3298, allocations: 351.2 kB / 390.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.33, allocations: 145 kB / 391.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.3301, allocations: 363 kB / 391.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.3306, allocations: 273.5 kB / 391.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.3312, allocations: 352.7 kB / 392 MB, free: 4.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.3324, allocations: 0.6174 MB / 392.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3324, allocations: 0 / 392.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001472/0.3339, allocations: 0.7844 MB / 393.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3339, allocations: 10.2 kB / 393.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3339, allocations: 1.375 kB / 393.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3339, allocations: 9.406 kB / 393.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.3348, allocations: 212.9 kB / 393.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3348, allocations: 5.406 kB / 393.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.3352, allocations: 42.03 kB / 393.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.3353, allocations: 31.7 kB / 393.7 MB, free: 4.062 MB / 318.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.0002128/0.3355, allocations: 191.8 kB / 393.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.3356, allocations: 51.72 kB / 394 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.3357, allocations: 77.72 kB / 394.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3357, allocations: 13.28 kB / 394.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/0.3358, allocations: 1.953 kB / 394.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.3358, allocations: 4.266 kB / 394.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.3387, allocations: 1.981 MB / 396.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3388, allocations: 8.828 kB / 396.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3396, allocations: 205.2 kB / 396.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.3396, allocations: 8.062 kB / 396.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.3397, allocations: 28.19 kB / 396.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.3397, allocations: 18.23 kB / 396.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3397, allocations: 4.375 kB / 396.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.3418, allocations: 1.375 MB / 397.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.342, allocations: 126.5 kB / 397.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.3421, allocations: 22.7 kB / 397.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.3425, allocations: 53.86 kB / 397.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3426, allocations: 74.42 kB / 398 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.3427, allocations: 34.7 kB / 398 MB, free: 1.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3429, allocations: 183.2 kB / 398.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3429, allocations: 0 / 398.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005826/0.3435, allocations: 151.4 kB / 398.3 MB, free: 1.625 MB / 318.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.0001559/0.3436, allocations: 133.8 kB / 398.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3451, allocations: 0.7308 MB / 399.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3451, allocations: 1.031 kB / 399.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.3459, allocations: 446.8 kB / 399.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.3467, allocations: 125.7 kB / 399.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.349, allocations: 1.523 MB / 401.3 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.3495, allocations: 0.8667 MB / 402.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.3498, allocations: 77.86 kB / 402.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.35, allocations: 55.06 kB / 402.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.35, allocations: 4 kB / 402.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01242/0.3625, allocations: 6.659 MB / 408.9 MB, free: 12.27 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches