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.001248/0.001248, allocations: 110.7 kB / 17.09 MB, free: 5.984 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.001307/0.001307, allocations: 194.2 kB / 18.02 MB, free: 5.074 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.474/1.474, allocations: 205.1 MB / 223.9 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.2223/0.2223, allocations: 43.52 MB / 314.8 MB, free: 464 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.001834/0.001834, allocations: 75.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1146, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005332/0.12, allocations: 4.094 MB / 0.4925 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1223, allocations: 1.107 MB / 0.4936 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.1228, allocations: 19.94 kB / 0.4936 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1233, allocations: 103 kB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.124, allocations: 202.2 kB / 0.4939 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.1246, allocations: 191.6 kB / 0.4941 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1258, allocations: 0.7861 MB / 0.4949 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.1263, allocations: 243.5 kB / 0.4951 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.1269, allocations: 307 kB / 0.4954 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.1275, allocations: 338.5 kB / 0.4957 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1276, allocations: 56 kB / 0.4958 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1279, allocations: 91.98 kB / 0.4959 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.128, allocations: 147.4 kB / 0.496 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.1285, allocations: 346.2 kB / 0.4963 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008758/0.1294, allocations: 0.7629 MB / 0.4971 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1294, allocations: 0 / 0.4971 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1294, allocations: 4 kB / 0.4971 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.1294, allocations: 0 / 0.4971 GB, free: 3.023 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.002207/0.1316, allocations: 1.001 MB / 0.498 GB, free: 1.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1317, allocations: 15.89 kB / 0.4981 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.1319, allocations: 80 kB / 0.4981 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.1325, allocations: 393.8 kB / 0.4985 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.1326, allocations: 45.69 kB / 0.4986 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1327, allocations: 72.2 kB / 0.4986 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1341, allocations: 0.6268 MB / 0.4992 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.1341, allocations: 15.81 kB / 0.4993 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1342, allocations: 20 kB / 0.4993 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.1342, allocations: 16 kB / 0.4993 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1354, allocations: 0.5331 MB / 0.4998 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.1388, allocations: 2.149 MB / 0.5019 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1401, allocations: 0.6951 MB / 0.5026 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.1407, allocations: 347.1 kB / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.1409, allocations: 93.84 kB / 0.503 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.141, allocations: 54.92 kB / 0.5031 GB, free: 12.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.141, allocations: 4 kB / 0.5031 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008388/0.1494, allocations: 4.503 MB / 0.5075 GB, free: 7.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.1495, allocations: 222.2 kB / 0.5077 GB, free: 7.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.1499, allocations: 361.9 kB / 0.508 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.15, allocations: 45.7 kB / 0.5081 GB, free: 7.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1502, allocations: 265 kB / 0.5083 GB, free: 6.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.1506, allocations: 406 kB / 0.5087 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.1509, allocations: 182.9 kB / 0.5089 GB, free: 6.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1511, allocations: 378.8 kB / 0.5092 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.1518, allocations: 318.4 kB / 0.5095 GB, free: 5.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.153, allocations: 0.5043 MB / 0.51 GB, free: 4.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.1552, allocations: 0.8741 MB / 0.5109 GB, free: 3.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1552, allocations: 4 kB / 0.5109 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001949/0.1571, allocations: 1.004 MB / 0.5119 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1572, allocations: 7.938 kB / 0.5119 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1572, allocations: 8.094 kB / 0.5119 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.1572, allocations: 11.94 kB / 0.5119 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.1583, allocations: 287.6 kB / 0.5122 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.1583, allocations: 8.234 kB / 0.5122 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.1588, allocations: 47.97 kB / 0.5122 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.1589, allocations: 52 kB / 0.5123 GB, free: 2.527 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.0003113/0.1592, allocations: 233.5 kB / 0.5125 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.1595, allocations: 79.09 kB / 0.5126 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.16, allocations: 218.7 kB / 0.5128 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.16, allocations: 7.984 kB / 0.5128 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.16, allocations: 0 / 0.5128 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.1603, allocations: 200.2 kB / 0.513 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1604, allocations: 28 kB / 0.513 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.161, allocations: 35.97 kB / 0.513 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1612, allocations: 80.39 kB / 0.5131 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002651/0.1639, allocations: 1.54 MB / 0.5146 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002769/0.1666, allocations: 1.961 MB / 0.5165 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007458/0.1674, allocations: 416.8 kB / 0.5169 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.1677, allocations: 255.1 kB / 0.5172 GB, free: 13.44 MB / 414.1 MB Notification: Performance of Backend: time 5.51e-07/0.1677, allocations: 0 / 0.5172 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.1697, allocations: 0.6308 MB / 0.5178 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 0.003264/0.1729, allocations: 2.378 MB / 0.5201 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01661/0.1896, allocations: 9.414 MB / 0.5293 GB, free: 0.9883 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches