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.00132/0.00132, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001797/0.001797, allocations: 185.8 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.684/1.684, 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.2467/0.2467, allocations: 43.52 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.001234/0.001235, allocations: 67.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007002/0.1457, allocations: 4.094 MB / 0.4919 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.148, allocations: 1.111 MB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1483, allocations: 11.94 kB / 0.493 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1485, allocations: 106.9 kB / 0.4931 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.149, allocations: 202.2 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.1494, allocations: 191.6 kB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00078/0.1502, allocations: 0.7822 MB / 0.4942 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.1505, allocations: 243.4 kB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1509, allocations: 311 kB / 0.4947 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.1513, allocations: 334.5 kB / 0.495 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.1514, allocations: 56 kB / 0.4951 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1516, allocations: 95.92 kB / 0.4952 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1517, allocations: 147.4 kB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.152, allocations: 342.3 kB / 0.4957 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.1528, allocations: 0.7629 MB / 0.4964 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1528, allocations: 4 kB / 0.4964 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1528, allocations: 3.984 kB / 0.4964 GB, free: 3.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1528, allocations: 4 kB / 0.4964 GB, free: 3.008 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.00177/0.1546, allocations: 0.997 MB / 0.4974 GB, free: 1.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1546, allocations: 15.89 kB / 0.4974 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1547, allocations: 83.94 kB / 0.4975 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1552, allocations: 389.9 kB / 0.4979 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1552, allocations: 49.62 kB / 0.4979 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.1553, allocations: 68.27 kB / 0.498 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1565, allocations: 0.6191 MB / 0.4986 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.1565, allocations: 23.73 kB / 0.4986 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.1566, allocations: 24 kB / 0.4986 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1566, allocations: 12 kB / 0.4986 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1577, allocations: 0.5333 MB / 0.4991 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.1607, allocations: 2.146 MB / 0.5012 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.162, allocations: 0.699 MB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.1626, allocations: 351.1 kB / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.1628, allocations: 93.84 kB / 0.5023 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1628, allocations: 50.94 kB / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/0.1628, allocations: 0 / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008048/0.1709, allocations: 4.502 MB / 0.5068 GB, free: 7.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.171, allocations: 222.2 kB / 0.507 GB, free: 7.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.1715, allocations: 365.9 kB / 0.5074 GB, free: 7.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.1715, allocations: 41.7 kB / 0.5074 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1717, allocations: 268.9 kB / 0.5077 GB, free: 6.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.172, allocations: 406 kB / 0.508 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.1723, allocations: 182.9 kB / 0.5082 GB, free: 6.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1725, allocations: 382.8 kB / 0.5086 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.1731, allocations: 322.4 kB / 0.5089 GB, free: 5.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.1739, allocations: 0.4965 MB / 0.5094 GB, free: 4.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.1754, allocations: 0.8741 MB / 0.5102 GB, free: 3.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1755, allocations: 0.5625 kB / 0.5102 GB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00183/0.1773, allocations: 1.008 MB / 0.5112 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1773, allocations: 16 kB / 0.5112 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1773, allocations: 4 kB / 0.5112 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.1774, allocations: 12 kB / 0.5112 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.1784, allocations: 283.6 kB / 0.5115 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.1784, allocations: 8 kB / 0.5115 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.1788, allocations: 47.97 kB / 0.5116 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.1789, allocations: 43.98 kB / 0.5116 GB, free: 2.52 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.0003203/0.1792, allocations: 237.5 kB / 0.5118 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.1795, allocations: 75.09 kB / 0.5119 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.1799, allocations: 222.8 kB / 0.5121 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.18, allocations: 15.98 kB / 0.5121 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.18, allocations: 0 / 0.5121 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.18, allocations: 8.125 kB / 0.5121 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.1838, allocations: 2.336 MB / 0.5144 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.1838, allocations: 8.031 kB / 0.5144 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.1848, allocations: 243.7 kB / 0.5147 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.1849, allocations: 8 kB / 0.5147 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.1849, allocations: 35.92 kB / 0.5147 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.1849, allocations: 11.94 kB / 0.5147 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1849, allocations: 4.078 kB / 0.5147 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.1878, allocations: 1.905 MB / 0.5166 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.188, allocations: 196.2 kB / 0.5168 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.1881, allocations: 27.94 kB / 0.5168 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.1887, allocations: 48.02 kB / 0.5168 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.1889, allocations: 96.33 kB / 0.5169 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.1889, allocations: 28 kB / 0.517 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.1892, allocations: 251.1 kB / 0.5172 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1892, allocations: 0 / 0.5172 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008595/0.1901, allocations: 196 kB / 0.5174 GB, free: 12.42 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.0002359/0.1903, allocations: 139.6 kB / 0.5175 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.192, allocations: 0.8548 MB / 0.5183 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.192, allocations: 0 / 0.5183 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.1928, allocations: 491.4 kB / 0.5188 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.194, allocations: 131 kB / 0.5189 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.1975, allocations: 2.195 MB / 0.5211 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.1982, allocations: 0.9439 MB / 0.522 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.1986, allocations: 97.75 kB / 0.5221 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1988, allocations: 67.42 kB / 0.5222 GB, free: 7.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1988, allocations: 0 / 0.5222 GB, free: 7.41 MB / 414.1 MB Notification: Performance of Templates: time 0.2647/0.4635, allocations: 7.437 MB / 0.5294 GB, free: 39.62 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