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.001535/0.001535, allocations: 119.5 kB / 17.09 MB, free: 5.992 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.001601/0.001602, allocations: 193.3 kB / 18.01 MB, free: 5.078 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.365/1.365, 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.2034/0.2034, allocations: 43.53 MB / 314.8 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.001548/0.001548, allocations: 67.89 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005364/0.1098, allocations: 4.095 MB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1123, allocations: 1.111 MB / 0.4936 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.1129, allocations: 15.94 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.1133, allocations: 102.9 kB / 0.4937 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.1141, allocations: 202.2 kB / 0.4939 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.1148, allocations: 195.6 kB / 0.4941 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1158, allocations: 0.7783 MB / 0.4949 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.1163, allocations: 251.4 kB / 0.4951 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.1168, allocations: 299 kB / 0.4954 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.1174, allocations: 338.5 kB / 0.4957 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1176, allocations: 60 kB / 0.4958 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.1179, allocations: 91.92 kB / 0.4958 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.118, allocations: 143.5 kB / 0.496 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.1185, allocations: 350.2 kB / 0.4963 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008599/0.1193, allocations: 0.7629 MB / 0.4971 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1194, allocations: 0 / 0.4971 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1194, allocations: 7.938 kB / 0.4971 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.1194, 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.002085/0.1215, allocations: 1.005 MB / 0.4981 GB, free: 1.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1216, allocations: 15.89 kB / 0.4981 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.1217, allocations: 80 kB / 0.4981 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1222, allocations: 389.9 kB / 0.4985 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.1223, allocations: 41.69 kB / 0.4986 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1224, allocations: 68.22 kB / 0.4986 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1236, allocations: 0.623 MB / 0.4992 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.1236, allocations: 19.75 kB / 0.4992 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.1237, allocations: 20 kB / 0.4993 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1237, allocations: 19.98 kB / 0.4993 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1248, allocations: 0.5294 MB / 0.4998 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.128, allocations: 2.138 MB / 0.5019 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.1293, allocations: 0.7068 MB / 0.5026 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.1299, allocations: 347.1 kB / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.1301, allocations: 97.83 kB / 0.503 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1301, allocations: 50.94 kB / 0.5031 GB, free: 12.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.1301, allocations: 0 / 0.5031 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008383/0.1385, allocations: 4.506 MB / 0.5075 GB, free: 7.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1387, allocations: 226.2 kB / 0.5077 GB, free: 7.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.1391, allocations: 357.9 kB / 0.508 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.1391, allocations: 45.7 kB / 0.5081 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1393, allocations: 268.9 kB / 0.5083 GB, free: 6.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.1397, allocations: 402.1 kB / 0.5087 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.1399, allocations: 182.9 kB / 0.5089 GB, free: 6.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1401, allocations: 382.8 kB / 0.5092 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.1408, allocations: 314.4 kB / 0.5095 GB, free: 5.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.1416, allocations: 0.5043 MB / 0.51 GB, free: 4.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.1431, allocations: 0.8671 MB / 0.5109 GB, free: 3.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1431, allocations: 4 kB / 0.5109 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0019/0.145, allocations: 1.008 MB / 0.5119 GB, free: 2.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.145, allocations: 11.94 kB / 0.5119 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.1451, allocations: 8 kB / 0.5119 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/0.1451, allocations: 8 kB / 0.5119 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.1461, allocations: 283.6 kB / 0.5122 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/0.1462, allocations: 11.98 kB / 0.5122 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.1467, allocations: 52.03 kB / 0.5122 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.1468, allocations: 44.17 kB / 0.5123 GB, free: 2.539 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.0003318/0.1472, allocations: 237.4 kB / 0.5125 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.1474, allocations: 83.08 kB / 0.5126 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.1479, allocations: 214.8 kB / 0.5128 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.1479, allocations: 12 kB / 0.5128 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.148, allocations: 4 kB / 0.5128 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.148, allocations: 7.969 kB / 0.5128 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.152, allocations: 2.336 MB / 0.5151 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.1521, allocations: 4 kB / 0.5151 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.1532, allocations: 251.7 kB / 0.5153 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.1533, allocations: 8 kB / 0.5153 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.1534, allocations: 31.92 kB / 0.5154 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.1534, allocations: 12.22 kB / 0.5154 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1534, allocations: 4 kB / 0.5154 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.156, allocations: 1.901 MB / 0.5172 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.1563, allocations: 192.3 kB / 0.5174 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1565, allocations: 31.94 kB / 0.5174 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.1572, allocations: 39.97 kB / 0.5175 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.1573, allocations: 88.33 kB / 0.5176 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.1574, allocations: 35.98 kB / 0.5176 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.1577, allocations: 251.2 kB / 0.5178 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 0.5178 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009334/0.1586, allocations: 192 kB / 0.518 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.0002023/0.1589, allocations: 147.6 kB / 0.5182 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.1606, allocations: 0.8512 MB / 0.519 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1606, allocations: 0 / 0.519 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.1615, allocations: 499.3 kB / 0.5195 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.1628, allocations: 131.2 kB / 0.5196 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1664, allocations: 2.228 MB / 0.5218 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.167, allocations: 0.9439 MB / 0.5227 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.1673, allocations: 75.41 kB / 0.5228 GB, free: 7.48 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1673, allocations: 0 / 0.5228 GB, free: 7.48 MB / 414.1 MB Notification: Performance of Templates: time 0.2128/0.3801, allocations: 8.996 MB / 0.5316 GB, free: 38.04 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