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.001174/0.00118, allocations: 110.7 kB / 17.09 MB, free: 6.02 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.001229/0.001229, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.395/1.395, allocations: 205.1 MB / 223.9 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.195/0.195, allocations: 43.53 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.00145/0.00145, allocations: 71.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00523/0.1137, allocations: 4.098 MB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1159, allocations: 1.107 MB / 0.4936 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.1164, allocations: 15.94 kB / 0.4936 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1169, allocations: 98.95 kB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000753/0.1177, allocations: 198.2 kB / 0.4939 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.1184, allocations: 191.6 kB / 0.4941 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.1196, allocations: 0.7822 MB / 0.4949 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.1201, allocations: 247.5 kB / 0.4951 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000611/0.1208, allocations: 314.9 kB / 0.4954 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.1214, allocations: 326.5 kB / 0.4957 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.1215, allocations: 60 kB / 0.4958 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1218, allocations: 87.98 kB / 0.4958 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.122, allocations: 151.4 kB / 0.496 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.1224, allocations: 350.2 kB / 0.4963 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.1232, allocations: 0.759 MB / 0.4971 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1232, allocations: 0 / 0.4971 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1232, allocations: 0 / 0.4971 GB, free: 3.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.1233, allocations: 4 kB / 0.4971 GB, free: 3.027 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.00221/0.1255, allocations: 0.9975 MB / 0.498 GB, free: 1.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1255, allocations: 11.89 kB / 0.4981 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1257, allocations: 84 kB / 0.4981 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.1263, allocations: 397.8 kB / 0.4985 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.1263, allocations: 41.69 kB / 0.4986 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1264, allocations: 68.27 kB / 0.4986 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1277, allocations: 0.6268 MB / 0.4992 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.1277, allocations: 11.81 kB / 0.4992 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.1278, allocations: 24 kB / 0.4993 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.1278, allocations: 16 kB / 0.4993 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.129, allocations: 0.5406 MB / 0.4998 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.1322, allocations: 2.146 MB / 0.5019 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.1334, allocations: 0.6911 MB / 0.5026 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.134, allocations: 351.1 kB / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.1342, allocations: 97.84 kB / 0.503 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1342, allocations: 50.92 kB / 0.5031 GB, free: 12.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.1342, allocations: 0 / 0.5031 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.007916/0.1422, allocations: 4.507 MB / 0.5075 GB, free: 7.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1423, allocations: 226.2 kB / 0.5077 GB, free: 7.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.1427, allocations: 365.9 kB / 0.508 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.1428, allocations: 41.7 kB / 0.5081 GB, free: 7.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.143, allocations: 269 kB / 0.5083 GB, free: 6.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.1433, allocations: 398 kB / 0.5087 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.1435, allocations: 182.9 kB / 0.5089 GB, free: 6.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1437, allocations: 386.8 kB / 0.5092 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.1444, allocations: 318.4 kB / 0.5095 GB, free: 5.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.1452, allocations: 0.5004 MB / 0.51 GB, free: 4.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1467, allocations: 0.8702 MB / 0.5109 GB, free: 3.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1467, allocations: 0 / 0.5109 GB, free: 3.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001834/0.1485, allocations: 1.004 MB / 0.5119 GB, free: 2.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.1486, allocations: 15.97 kB / 0.5119 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1486, allocations: 4 kB / 0.5119 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.1486, allocations: 12 kB / 0.5119 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.1497, allocations: 283.6 kB / 0.5122 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/0.1497, allocations: 12.22 kB / 0.5122 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.1502, allocations: 51.97 kB / 0.5122 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.1503, allocations: 39.98 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.0003074/0.1506, allocations: 241.4 kB / 0.5125 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.1508, allocations: 79.09 kB / 0.5126 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.1513, allocations: 218.8 kB / 0.5128 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.1513, allocations: 3.984 kB / 0.5128 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1513, allocations: 4 kB / 0.5128 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.1516, allocations: 192.2 kB / 0.513 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/0.1517, allocations: 27.98 kB / 0.513 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.1523, allocations: 43.97 kB / 0.513 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.1524, allocations: 84.33 kB / 0.5131 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002591/0.155, allocations: 1.533 MB / 0.5146 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002579/0.1576, allocations: 1.957 MB / 0.5165 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006955/0.1583, allocations: 428.6 kB / 0.5169 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.1586, allocations: 247.2 kB / 0.5172 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.1586, allocations: 0 / 0.5172 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.1604, allocations: 0.6347 MB / 0.5178 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 0.002985/0.1634, allocations: 2.367 MB / 0.5201 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Templates: time 0.01677/0.1802, allocations: 9.661 MB / 0.5295 GB, free: 0.7578 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