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.00126/0.00126, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001142/0.001142, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2439/0.2439, allocations: 43.53 MB / 314.1 MB, free: 460 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.001385/0.001385, allocations: 71.89 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 57.78 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006978/0.1677, allocations: 4.095 MB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1703, allocations: 1.107 MB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.171, allocations: 15.94 kB / 0.493 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.1715, allocations: 103 kB / 0.4931 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000834/0.1723, allocations: 194.2 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.1732, allocations: 191.6 kB / 0.4934 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.1745, allocations: 0.7822 MB / 0.4942 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.175, allocations: 247.4 kB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.1756, allocations: 302.9 kB / 0.4947 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.1761, allocations: 342.5 kB / 0.495 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.1762, allocations: 60 kB / 0.4951 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.1764, allocations: 79.98 kB / 0.4952 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1766, allocations: 143.5 kB / 0.4953 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.177, allocations: 350.3 kB / 0.4956 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008787/0.1779, allocations: 0.774 MB / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1779, allocations: 4 kB / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1779, allocations: 0 / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1779, 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.001938/0.1799, allocations: 1.016 MB / 0.4974 GB, free: 1.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1799, allocations: 15.89 kB / 0.4974 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.18, allocations: 80.47 kB / 0.4975 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1806, allocations: 406.1 kB / 0.4979 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.1806, allocations: 45.62 kB / 0.4979 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1808, allocations: 64.33 kB / 0.498 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.182, allocations: 0.6268 MB / 0.4986 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.182, allocations: 15.94 kB / 0.4986 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.1821, allocations: 20 kB / 0.4986 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1821, allocations: 12 kB / 0.4986 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1833, allocations: 0.5408 MB / 0.4992 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.1864, allocations: 2.15 MB / 0.5013 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.1877, allocations: 0.6989 MB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.1884, allocations: 347.5 kB / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1885, allocations: 97.52 kB / 0.5024 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1886, allocations: 50.94 kB / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/0.1886, allocations: 0 / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008634/0.1972, allocations: 4.542 MB / 0.5069 GB, free: 7.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1974, allocations: 230.2 kB / 0.5071 GB, free: 7.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.1978, allocations: 361.9 kB / 0.5074 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.1979, allocations: 45.7 kB / 0.5075 GB, free: 6.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1981, allocations: 273.5 kB / 0.5077 GB, free: 6.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.1984, allocations: 424.3 kB / 0.5081 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.1987, allocations: 179 kB / 0.5083 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1989, allocations: 386.8 kB / 0.5087 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.1996, allocations: 314.4 kB / 0.509 GB, free: 5.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.2004, allocations: 0.5004 MB / 0.5095 GB, free: 4.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.202, allocations: 0.8741 MB / 0.5103 GB, free: 3.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.202, allocations: 3.984 kB / 0.5103 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001892/0.2039, allocations: 1.009 MB / 0.5113 GB, free: 2.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2039, allocations: 12.03 kB / 0.5113 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.204, allocations: 11.94 kB / 0.5113 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.204, allocations: 12 kB / 0.5113 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.2053, allocations: 279.6 kB / 0.5116 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-05/0.2053, allocations: 15.92 kB / 0.5116 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.206, allocations: 51.97 kB / 0.5117 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2062, allocations: 36 kB / 0.5117 GB, free: 2.449 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.0005213/0.2067, allocations: 241.4 kB / 0.5119 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.207, allocations: 79.52 kB / 0.512 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.2076, allocations: 214.8 kB / 0.5122 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.2076, allocations: 12 kB / 0.5122 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.2076, allocations: 4 kB / 0.5122 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.2077, allocations: 7.969 kB / 0.5122 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.2122, allocations: 2.333 MB / 0.5145 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.2122, allocations: 8.281 kB / 0.5145 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.2135, allocations: 251.7 kB / 0.5148 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.2135, allocations: 11.98 kB / 0.5148 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/0.2136, allocations: 31.92 kB / 0.5148 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.2136, allocations: 8 kB / 0.5148 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.2136, allocations: 7.938 kB / 0.5148 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.2169, allocations: 1.906 MB / 0.5167 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.2173, allocations: 200.7 kB / 0.5169 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2174, allocations: 27.94 kB / 0.5169 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.2182, allocations: 43.91 kB / 0.5169 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.2184, allocations: 92.33 kB / 0.517 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.2185, allocations: 36.05 kB / 0.5171 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.2188, allocations: 251.2 kB / 0.5173 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2188, allocations: 0 / 0.5173 GB, free: 12.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009547/0.2198, allocations: 192 kB / 0.5175 GB, free: 12.34 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.000229/0.22, allocations: 143.6 kB / 0.5176 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.2222, allocations: 0.847 MB / 0.5184 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2222, allocations: 4 kB / 0.5185 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.2231, allocations: 494.6 kB / 0.5189 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.2245, allocations: 126.9 kB / 0.519 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.2281, allocations: 2.226 MB / 0.5212 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.2287, allocations: 0.9439 MB / 0.5221 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.2291, allocations: 101.7 kB / 0.5222 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.2293, allocations: 63.42 kB / 0.5223 GB, free: 7.301 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2293, allocations: 0 / 0.5223 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Templates: time 0.2736/0.5029, allocations: 7.429 MB / 0.5296 GB, free: 39.61 MB / 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