Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009598/0.0009597, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.263/1.263, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.000731/0.000731, allocations: 89.03 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2992/0.2992, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003524/0.1086, allocations: 3.522 MB / 494.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1102, allocations: 1.068 MB / 495.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1105, allocations: 11.94 kB / 495.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1106, allocations: 75.39 kB / 495.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1109, allocations: 170.6 kB / 495.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1113, allocations: 139.8 kB / 495.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.1119, allocations: 0.716 MB / 496.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1122, allocations: 202.8 kB / 496.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1125, allocations: 255 kB / 497 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1129, allocations: 294.7 kB / 497.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.1129, allocations: 36 kB / 497.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1131, allocations: 59.98 kB / 497.3 MB, free: 4.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.1132, allocations: 115.5 kB / 497.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.1134, allocations: 324.2 kB / 497.8 MB, free: 3.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.1139, allocations: 0.5416 MB / 498.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1139, allocations: 0 / 498.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1139, allocations: 0 / 498.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1139, allocations: 0 / 498.3 MB, free: 3.348 MB / 378.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.00151/0.1154, allocations: 0.912 MB / 499.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1155, allocations: 8.031 kB / 499.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1156, allocations: 80 kB / 499.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.1161, allocations: 397.7 kB / 499.7 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.1161, allocations: 45.69 kB / 499.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.1162, allocations: 68.22 kB / 499.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1173, allocations: 0.6347 MB / 0.4887 GB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.1174, allocations: 15.83 kB / 0.4887 GB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.1174, allocations: 28 kB / 0.4888 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1174, allocations: 12 kB / 0.4888 GB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1186, allocations: 0.564 MB / 0.4893 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1649/0.2835, allocations: 2.178 MB / 0.4914 GB, free: 41.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2848, allocations: 0.7082 MB / 0.4921 GB, free: 41.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.2856, allocations: 361.1 kB / 0.4925 GB, free: 41.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.2858, allocations: 97.38 kB / 0.4926 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2858, allocations: 51.19 kB / 0.4926 GB, free: 41.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.917e-06/0.2859, allocations: 1.281 kB / 0.4926 GB, free: 41.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.007848/0.2937, allocations: 4.615 MB / 0.4971 GB, free: 39.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.2938, allocations: 223.9 kB / 0.4973 GB, free: 39.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.2942, allocations: 355.3 kB / 0.4977 GB, free: 39.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.2943, allocations: 46.98 kB / 0.4977 GB, free: 38.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.2944, allocations: 266.5 kB / 0.498 GB, free: 38.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.2946, allocations: 410.2 kB / 0.4984 GB, free: 38.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.2947, allocations: 27.41 kB / 0.4984 GB, free: 38.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2948, allocations: 382.3 kB / 0.4988 GB, free: 38.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.2955, allocations: 331.5 kB / 0.4991 GB, free: 38.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.2963, allocations: 0.5219 MB / 0.4996 GB, free: 38.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2976, allocations: 0.9007 MB / 0.5005 GB, free: 37.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2976, allocations: 1.188 kB / 0.5005 GB, free: 37.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001517/0.2991, allocations: 1.034 MB / 0.5015 GB, free: 37.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2992, allocations: 7.875 kB / 0.5015 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2992, allocations: 5.438 kB / 0.5015 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2992, allocations: 9.344 kB / 0.5015 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.3002, allocations: 297.1 kB / 0.5018 GB, free: 37.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.3002, allocations: 19.5 kB / 0.5018 GB, free: 37.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3006, allocations: 59.02 kB / 0.5019 GB, free: 37.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.3007, allocations: 42.97 kB / 0.5019 GB, free: 37.24 MB / 378.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 () * Number of clocked 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.0002426/0.301, allocations: 229.7 kB / 0.5021 GB, free: 37.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.3011, allocations: 73.38 kB / 0.5022 GB, free: 37.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.3015, allocations: 223.4 kB / 0.5024 GB, free: 36.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.3015, allocations: 12.84 kB / 0.5024 GB, free: 36.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.3016, allocations: 6.625 kB / 0.5024 GB, free: 36.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3016, allocations: 8.969 kB / 0.5024 GB, free: 36.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.3048, allocations: 2.392 MB / 0.5048 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.3048, allocations: 3.281 kB / 0.5048 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.3059, allocations: 264.4 kB / 0.505 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.3059, allocations: 12.34 kB / 0.505 GB, free: 35.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.306, allocations: 25.56 kB / 0.5051 GB, free: 35.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.306, allocations: 11.53 kB / 0.5051 GB, free: 35.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.306, allocations: 8.438 kB / 0.5051 GB, free: 35.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.3082, allocations: 1.943 MB / 0.507 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.3085, allocations: 198.6 kB / 0.5072 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.3086, allocations: 25.5 kB / 0.5072 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.3091, allocations: 59.81 kB / 0.5072 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.3093, allocations: 86.44 kB / 0.5073 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.3093, allocations: 38.45 kB / 0.5074 GB, free: 34.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3095, allocations: 245.5 kB / 0.5076 GB, free: 34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3096, allocations: 0 / 0.5076 GB, free: 34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007897/0.3103, allocations: 193.8 kB / 0.5078 GB, free: 33.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked 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.0001436/0.3105, allocations: 142.4 kB / 0.5079 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.3119, allocations: 0.8657 MB / 0.5088 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3119, allocations: 4 kB / 0.5088 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.3126, allocations: 0.4945 MB / 0.5093 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3138, allocations: 130.3 kB / 0.5094 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3167, allocations: 2.686 MB / 0.512 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3171, allocations: 0.9471 MB / 0.5129 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.3174, allocations: 72.38 kB / 0.513 GB, free: 30.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3174, allocations: 0 / 0.513 GB, free: 30.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01121/0.3286, allocations: 8.823 MB / 0.5216 GB, free: 30.01 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches