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.001653/0.001658, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.998/1.998, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.002183/0.002183, allocations: 102.6 kB / 270.9 MB, free: 8.359 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.5573/0.5573, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004754, allocations: 15.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005582/0.1329, allocations: 3.305 MB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.1359, allocations: 1.096 MB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.1365, allocations: 15.88 kB / 494.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1368, allocations: 67.45 kB / 494.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007881/0.1376, allocations: 235.4 kB / 494.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.1383, allocations: 147.7 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1395, allocations: 0.5229 MB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.14, allocations: 190.9 kB / 495.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.1406, allocations: 251 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.1411, allocations: 294.7 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1412, allocations: 32 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.1415, allocations: 51.98 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1416, allocations: 115.5 kB / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1418, allocations: 141.3 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.1427, allocations: 0.5339 MB / 497.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1427, allocations: 3.938 kB / 497.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1427, allocations: 0 / 497.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1427, allocations: 0 / 497.2 MB, free: 4.223 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.002919/0.1457, allocations: 0.9273 MB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1457, allocations: 8.031 kB / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.146, allocations: 79.06 kB / 498.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008041/0.1468, allocations: 376.8 kB / 498.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.1469, allocations: 41.31 kB / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1471, allocations: 71.89 kB / 498.7 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.1491, allocations: 0.6343 MB / 499.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/0.1492, allocations: 7.906 kB / 499.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.1493, allocations: 24 kB / 499.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1494, allocations: 19.95 kB / 499.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1516, allocations: 0.5645 MB / 499.9 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3194/0.471, allocations: 2.166 MB / 0.4903 GB, free: 42.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.4732, allocations: 0.7103 MB / 0.491 GB, free: 41.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.4734, allocations: 100.7 kB / 0.4911 GB, free: 41.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.4735, allocations: 49.83 kB / 0.4911 GB, free: 41.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.828e-06/0.4735, allocations: 0 / 0.4911 GB, free: 41.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01381/0.4873, allocations: 4.616 MB / 0.4957 GB, free: 39.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.4875, allocations: 218.2 kB / 0.4959 GB, free: 39.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.488, allocations: 361.4 kB / 0.4962 GB, free: 39.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4882, allocations: 44.83 kB / 0.4963 GB, free: 39.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4884, allocations: 307.8 kB / 0.4965 GB, free: 39.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.4888, allocations: 412 kB / 0.4969 GB, free: 38.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.4889, allocations: 22.88 kB / 0.497 GB, free: 38.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.489, allocations: 353.9 kB / 0.4973 GB, free: 38.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.4902, allocations: 332.4 kB / 0.4976 GB, free: 38.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.4916, allocations: 0.5182 MB / 0.4981 GB, free: 38.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.4931, allocations: 401.8 kB / 0.4985 GB, free: 38.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.4932, allocations: 1.406 kB / 0.4985 GB, free: 38.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003078/0.4963, allocations: 1.008 MB / 0.4995 GB, free: 38.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4964, allocations: 6.281 kB / 0.4995 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.4964, allocations: 5.156 kB / 0.4995 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.4964, allocations: 14.02 kB / 0.4995 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4984, allocations: 291.9 kB / 0.4998 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.4985, allocations: 22.14 kB / 0.4998 GB, free: 38.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.4994, allocations: 60.3 kB / 0.4999 GB, free: 38.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4995, allocations: 39.02 kB / 0.4999 GB, free: 38.09 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.0004334/0.4999, allocations: 231 kB / 0.5001 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5002, allocations: 78.53 kB / 0.5002 GB, free: 37.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.5009, allocations: 219.7 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.5009, allocations: 18.7 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/0.5009, allocations: 4.344 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.501, allocations: 7.594 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.5063, allocations: 2.377 MB / 0.5028 GB, free: 36.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.5064, allocations: 2.969 kB / 0.5028 GB, free: 36.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.5085, allocations: 263.1 kB / 0.503 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.5085, allocations: 8.875 kB / 0.503 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.5087, allocations: 34.02 kB / 0.5031 GB, free: 36.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.5087, allocations: 11.73 kB / 0.5031 GB, free: 36.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5087, allocations: 2.688 kB / 0.5031 GB, free: 36.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.513, allocations: 2.13 MB / 0.5052 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.5135, allocations: 201 kB / 0.5053 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.5136, allocations: 31.98 kB / 0.5054 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5147, allocations: 54.55 kB / 0.5054 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.5149, allocations: 92.75 kB / 0.5055 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.515, allocations: 35.81 kB / 0.5055 GB, free: 34.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003519/0.5154, allocations: 248.2 kB / 0.5058 GB, free: 34.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5154, allocations: 0 / 0.5058 GB, free: 34.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001285/0.5167, allocations: 194.8 kB / 0.506 GB, free: 34.56 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.0002199/0.5169, allocations: 134.5 kB / 0.5061 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.5195, allocations: 0.8762 MB / 0.507 GB, free: 34.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5196, allocations: 0 / 0.507 GB, free: 34.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.521, allocations: 0.4982 MB / 0.5074 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5224, allocations: 100.7 kB / 0.5075 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.5278, allocations: 2.689 MB / 0.5102 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.5284, allocations: 0.956 MB / 0.5111 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.5289, allocations: 74.3 kB / 0.5112 GB, free: 31.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5289, allocations: 0 / 0.5112 GB, free: 31.47 MB / 378.7 MB Notification: Performance of Templates: time 0.01913/0.5481, allocations: 8.639 MB / 0.5196 GB, free: 30.68 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/jenkins1/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