Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009199/0.0009198, allocations: 86.12 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1839/0.1839, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.023e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5311, allocations: 90.51 MB / 0.583 GB, free: 6.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.5315, allocations: 59.97 kB / 0.5831 GB, free: 5.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03479/0.5663, allocations: 11.69 MB / 0.5945 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5663, allocations: 0 / 0.5945 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.5664, allocations: 15.98 kB / 0.5945 GB, free: 10.19 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001438/0.5678, allocations: 0.8379 MB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5679, allocations: 11.98 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.568, allocations: 87.02 kB / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.5685, allocations: 359.3 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5685, allocations: 20 kB / 0.5958 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.5686, allocations: 39.91 kB / 0.5958 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006753/0.5693, allocations: 414.4 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.5701, allocations: 497.5 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.5701, allocations: 11.91 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.5702, allocations: 0 / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.5702, allocations: 12 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.5731, allocations: 1.951 MB / 0.5986 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.574, allocations: 0.5569 MB / 0.5992 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.5744, allocations: 261.9 kB / 0.5994 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.5746, allocations: 101.7 kB / 0.5995 GB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.5746, allocations: 50.94 kB / 0.5996 GB, free: 4.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.5746, allocations: 0 / 0.5996 GB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005311/0.5799, allocations: 3.545 MB / 0.603 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5801, allocations: 178.7 kB / 0.6032 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5805, allocations: 297.2 kB / 0.6035 GB, free: 324 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.5805, allocations: 25.7 kB / 0.6035 GB, free: 292 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.5807, allocations: 269 kB / 0.6038 GB, free: 16 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.5811, allocations: 386.1 kB / 0.6041 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.5811, allocations: 0 / 0.6041 GB, free: 15.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5813, allocations: 382.9 kB / 0.6045 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.5817, allocations: 242.6 kB / 0.6047 GB, free: 15.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.5822, allocations: 446.5 kB / 0.6052 GB, free: 14.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.5828, allocations: 314 kB / 0.6055 GB, free: 14.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5828, allocations: 4 kB / 0.6055 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001285/0.5841, allocations: 0.8106 MB / 0.6063 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5841, allocations: 9.406 kB / 0.6063 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5841, allocations: 7.953 kB / 0.6063 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.5842, allocations: 12 kB / 0.6063 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5852, allocations: 291.5 kB / 0.6066 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.5853, allocations: 20.03 kB / 0.6066 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.5857, allocations: 31.97 kB / 0.6066 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.5858, allocations: 43.98 kB / 0.6067 GB, free: 12.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001657/0.586, allocations: 130.9 kB / 0.6068 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5862, allocations: 71.25 kB / 0.6069 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.5866, allocations: 223 kB / 0.6071 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5866, allocations: 15.95 kB / 0.6071 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5867, allocations: 0 / 0.6071 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5867, allocations: 7.984 kB / 0.6071 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5898, allocations: 2.152 MB / 0.6092 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5898, allocations: 8.219 kB / 0.6092 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5909, allocations: 260 kB / 0.6094 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.5909, allocations: 8 kB / 0.6095 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.591, allocations: 15.92 kB / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.591, allocations: 8 kB / 0.6095 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.591, allocations: 4 kB / 0.6095 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.593, allocations: 1.698 MB / 0.6111 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.5933, allocations: 200.2 kB / 0.6113 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.5934, allocations: 12 kB / 0.6113 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.5939, allocations: 39.97 kB / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5941, allocations: 80.41 kB / 0.6115 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.5942, allocations: 31.98 kB / 0.6115 GB, free: 7.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.5944, allocations: 235 kB / 0.6117 GB, free: 7.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5944, allocations: 0 / 0.6117 GB, free: 7.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007632/0.5952, allocations: 160 kB / 0.6119 GB, free: 7.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002015/0.5954, allocations: 119.1 kB / 0.612 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.5965, allocations: 0.6876 MB / 0.6126 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5965, allocations: 0 / 0.6126 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.5971, allocations: 425.7 kB / 0.6131 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.5979, allocations: 85.34 kB / 0.6131 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.601, allocations: 1.922 MB / 0.615 GB, free: 4.105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.6016, allocations: 0.9718 MB / 0.616 GB, free: 3.109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.6021, allocations: 97.62 kB / 0.6161 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.6023, allocations: 59.42 kB / 0.6161 GB, free: 2.953 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6023, allocations: 0 / 0.6161 GB, free: 2.953 MB / 426.7 MB Notification: Performance of Templates: time 0.01225/0.6145, allocations: 6.087 MB / 0.6221 GB, free: 12.92 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches