Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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) 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 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(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_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_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 106.7 kB / 16.41 MB, free: 6.031 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.001246/0.001246, allocations: 187.1 kB / 17.34 MB, free: 5.633 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.743/1.743, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2505/0.2505, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.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.001596/0.001596, allocations: 63.91 kB / 441.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 57.79 MB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006455/0.1566, allocations: 4.094 MB / 0.4919 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1598, allocations: 1.115 MB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.1606, allocations: 15.94 kB / 0.493 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.1611, allocations: 98.95 kB / 0.4931 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.162, allocations: 206.2 kB / 0.4933 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.1628, allocations: 191.6 kB / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.1642, allocations: 0.7861 MB / 0.4942 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.1647, allocations: 243.5 kB / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.1653, allocations: 303 kB / 0.4947 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1658, allocations: 342.5 kB / 0.495 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1659, allocations: 56 kB / 0.4951 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.1662, allocations: 87.98 kB / 0.4952 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1663, allocations: 147.4 kB / 0.4953 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.1668, allocations: 350.2 kB / 0.4957 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.1677, allocations: 0.759 MB / 0.4964 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1677, allocations: 4 kB / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1677, allocations: 4 kB / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.1678, allocations: 4 kB / 0.4964 GB, free: 3.031 MB / 382.1 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.002261/0.1701, allocations: 0.9897 MB / 0.4974 GB, free: 1.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1701, allocations: 11.89 kB / 0.4974 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1703, allocations: 84 kB / 0.4975 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.1708, allocations: 393.8 kB / 0.4978 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.1709, allocations: 49.62 kB / 0.4979 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.171, allocations: 68.27 kB / 0.498 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1722, allocations: 0.6268 MB / 0.4986 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.1723, allocations: 15.81 kB / 0.4986 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.1723, allocations: 24 kB / 0.4986 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1724, allocations: 12 kB / 0.4986 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.1736, allocations: 0.5331 MB / 0.4991 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.1767, allocations: 2.149 MB / 0.5012 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.178, allocations: 0.7029 MB / 0.5019 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.1786, allocations: 343.1 kB / 0.5023 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.1787, allocations: 97.83 kB / 0.5023 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1788, allocations: 54.94 kB / 0.5024 GB, free: 12.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.1788, allocations: 0 / 0.5024 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.00813/0.1869, allocations: 4.499 MB / 0.5068 GB, free: 7.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.1871, allocations: 218.2 kB / 0.507 GB, free: 7.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1874, allocations: 369.9 kB / 0.5074 GB, free: 7.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.1875, allocations: 45.7 kB / 0.5074 GB, free: 7.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1877, allocations: 264.9 kB / 0.5076 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.1879, allocations: 410 kB / 0.508 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.1882, allocations: 182.9 kB / 0.5082 GB, free: 6.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1884, allocations: 382.8 kB / 0.5086 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.189, allocations: 314.4 kB / 0.5089 GB, free: 5.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.1897, allocations: 0.5004 MB / 0.5094 GB, free: 4.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.1911, allocations: 0.8741 MB / 0.5102 GB, free: 3.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1911, allocations: 0 / 0.5102 GB, free: 3.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001661/0.1928, allocations: 1 MB / 0.5112 GB, free: 2.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1928, allocations: 16.12 kB / 0.5112 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1928, allocations: 11.92 kB / 0.5112 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1929, allocations: 12 kB / 0.5112 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/0.1939, allocations: 275.6 kB / 0.5115 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.1939, allocations: 15.94 kB / 0.5115 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.1943, allocations: 60.02 kB / 0.5116 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.1944, allocations: 36 kB / 0.5116 GB, free: 2.543 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.1947, allocations: 237.5 kB / 0.5118 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.1949, allocations: 75.09 kB / 0.5119 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.1954, allocations: 222.8 kB / 0.5121 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1954, allocations: 12 kB / 0.5121 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.1954, allocations: 0 / 0.5121 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1954, allocations: 7.984 kB / 0.5121 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.199, allocations: 2.336 MB / 0.5144 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.199, allocations: 8.031 kB / 0.5144 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009769/0.2, allocations: 251.6 kB / 0.5147 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.2, allocations: 8.141 kB / 0.5147 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.2001, allocations: 31.94 kB / 0.5147 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.2001, allocations: 11.98 kB / 0.5147 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.2001, allocations: 7.984 kB / 0.5147 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.2026, allocations: 1.897 MB / 0.5166 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.2028, allocations: 196.5 kB / 0.5168 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.2029, allocations: 27.94 kB / 0.5168 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.2035, allocations: 43.91 kB / 0.5168 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2037, allocations: 88.33 kB / 0.5169 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.2037, allocations: 39.98 kB / 0.517 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.204, allocations: 247.2 kB / 0.5172 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.204, allocations: 0 / 0.5172 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000829/0.2048, allocations: 196 kB / 0.5174 GB, free: 12.45 MB / 414.1 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 (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.0002363/0.2051, allocations: 139.6 kB / 0.5175 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.2067, allocations: 0.8509 MB / 0.5183 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2067, allocations: 0 / 0.5183 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008171/0.2075, allocations: 491.4 kB / 0.5188 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.2087, allocations: 130.6 kB / 0.5189 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.2124, allocations: 2.196 MB / 0.5211 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.213, allocations: 0.9478 MB / 0.522 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.2134, allocations: 101.7 kB / 0.5221 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.2136, allocations: 59.42 kB / 0.5222 GB, free: 7.441 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2136, allocations: 4 kB / 0.5222 GB, free: 7.438 MB / 414.1 MB Notification: Performance of Templates: time 0.013/0.2266, allocations: 7.431 MB / 0.5294 GB, free: 32 kB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches