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.001009/0.001009, allocations: 178 kB / 16.41 MB, free: 5.707 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.566/1.566, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0009405/0.0009407, allocations: 94.28 kB / 270.9 MB, free: 8.352 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.4281/0.4281, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 8 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004265/0.1387, allocations: 3.518 MB / 493.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1406, allocations: 1.064 MB / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.1409, allocations: 11.94 kB / 494.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1411, allocations: 71.39 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1414, allocations: 178.5 kB / 495.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1419, allocations: 139.8 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.1426, allocations: 0.7043 MB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.1429, allocations: 190.9 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.1433, allocations: 251 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.1436, allocations: 298.7 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.1437, allocations: 32 kB / 496.7 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1438, allocations: 52 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1439, allocations: 119.5 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1441, allocations: 145.3 kB / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.1446, allocations: 0.5417 MB / 497.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1446, allocations: 0 / 497.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1446, allocations: 0 / 497.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1446, allocations: 0 / 497.5 MB, free: 3.883 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.001768/0.1464, allocations: 0.9234 MB / 498.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1464, allocations: 8.031 kB / 498.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1466, allocations: 83.05 kB / 498.5 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.1471, allocations: 380.7 kB / 498.9 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.1471, allocations: 45.31 kB / 498.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.1472, allocations: 63.91 kB / 499 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1484, allocations: 0.6382 MB / 499.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.1484, allocations: 11.89 kB / 499.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.1485, allocations: 20 kB / 499.7 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1485, allocations: 19.95 kB / 499.7 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1497, allocations: 0.5646 MB / 0.4885 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.256/0.4056, allocations: 2.167 MB / 0.4907 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.4072, allocations: 0.7059 MB / 0.4913 GB, free: 41.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.4079, allocations: 361.7 kB / 0.4917 GB, free: 41.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.4081, allocations: 98.84 kB / 0.4918 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4081, allocations: 48.98 kB / 0.4918 GB, free: 41.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.4081, allocations: 0 / 0.4918 GB, free: 41.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.009476/0.4176, allocations: 4.617 MB / 0.4963 GB, free: 39.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4177, allocations: 222.5 kB / 0.4965 GB, free: 39.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.4182, allocations: 358.3 kB / 0.4969 GB, free: 39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.4183, allocations: 44.39 kB / 0.4969 GB, free: 38.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.4185, allocations: 273.1 kB / 0.4972 GB, free: 38.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4188, allocations: 412.6 kB / 0.4976 GB, free: 38.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4188, allocations: 23.38 kB / 0.4976 GB, free: 38.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.419, allocations: 381.8 kB / 0.498 GB, free: 38.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4197, allocations: 330.5 kB / 0.4983 GB, free: 38.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/0.4206, allocations: 0.5185 MB / 0.4988 GB, free: 38.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.4215, allocations: 393.7 kB / 0.4992 GB, free: 38.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4215, allocations: 8.891 kB / 0.4992 GB, free: 38.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00191/0.4234, allocations: 1.039 MB / 0.5002 GB, free: 37.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4234, allocations: 7.812 kB / 0.5002 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4234, allocations: 6.031 kB / 0.5002 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.4235, allocations: 15.56 kB / 0.5002 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.4245, allocations: 288.9 kB / 0.5005 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.4245, allocations: 18.31 kB / 0.5005 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.425, allocations: 63.58 kB / 0.5006 GB, free: 37.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.4251, allocations: 39.77 kB / 0.5006 GB, free: 37.67 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.0002777/0.4254, allocations: 226.9 kB / 0.5008 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.4256, allocations: 77.31 kB / 0.5009 GB, free: 37.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.426, allocations: 226.1 kB / 0.5011 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.426, allocations: 11.88 kB / 0.5011 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/0.4261, allocations: 3.656 kB / 0.5011 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4261, allocations: 9.219 kB / 0.5011 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.4292, allocations: 2.384 MB / 0.5035 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.4292, allocations: 3.031 kB / 0.5035 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4303, allocations: 264.5 kB / 0.5037 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.4303, allocations: 8.25 kB / 0.5037 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.4304, allocations: 29.86 kB / 0.5038 GB, free: 35.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.4304, allocations: 11.08 kB / 0.5038 GB, free: 35.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.4304, allocations: 8.969 kB / 0.5038 GB, free: 35.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.433, allocations: 1.941 MB / 0.5057 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.4333, allocations: 199.2 kB / 0.5059 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.4334, allocations: 25.33 kB / 0.5059 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.434, allocations: 55.27 kB / 0.5059 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.4341, allocations: 91.8 kB / 0.506 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.4342, allocations: 36.7 kB / 0.5061 GB, free: 34.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.4344, allocations: 249.7 kB / 0.5063 GB, free: 34.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4344, allocations: 0 / 0.5063 GB, free: 34.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007591/0.4352, allocations: 199.2 kB / 0.5065 GB, free: 34.41 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.0001615/0.4353, allocations: 142 kB / 0.5066 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.4368, allocations: 0.8732 MB / 0.5075 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4368, allocations: 3.156 kB / 0.5075 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.4376, allocations: 0.4954 MB / 0.508 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4387, allocations: 128.8 kB / 0.5081 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.442, allocations: 2.686 MB / 0.5107 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4424, allocations: 0.9428 MB / 0.5116 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4427, allocations: 67.75 kB / 0.5117 GB, free: 31.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4427, allocations: 6.969 kB / 0.5117 GB, free: 31.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01164/0.4543, allocations: 8.806 MB / 0.5203 GB, free: 30.44 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