Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001629/0.001629, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.361/1.361, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2388/0.2388, allocations: 43.53 MB / 314.6 MB, free: 0.5273 MB / 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.001653/0.001653, allocations: 63.09 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01196/0.1223, allocations: 12.43 MB / 453.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.1322, allocations: 4.047 MB / 457.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003143/0.1354, allocations: 79.81 kB / 457.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.1393, allocations: 1.689 MB / 459.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.1438, allocations: 1.588 MB / 461 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.1462, allocations: 1.184 MB / 462.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.1515, allocations: 3.619 MB / 465.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003724/0.1553, allocations: 2.528 MB / 468.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.1575, allocations: 1.218 MB / 469.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.16, allocations: 1.662 MB / 471.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007315/0.1608, allocations: 256 kB / 471.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.1624, allocations: 0.7099 MB / 472.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.1641, allocations: 1.652 MB / 473.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002867/0.167, allocations: 1.984 MB / 475.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.1746, allocations: 6.199 MB / 482 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1746, allocations: 0 / 482 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1746, allocations: 0 / 482 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002177/0.1749, allocations: 0 / 482 MB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.009701/0.1846, allocations: 4.196 MB / 486.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1846, allocations: 12.03 kB / 486.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.1952, allocations: 3.013 MB / 489.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.1995, allocations: 1.846 MB / 491.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.1997, allocations: 205.3 kB / 491.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007405/0.2005, allocations: 259.8 kB / 491.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.2196, allocations: 10.53 MB / 0.4903 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/0.2198, allocations: 35.62 kB / 0.4903 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/0.2203, allocations: 131.8 kB / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003924/0.2243, allocations: 2.435 MB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.2421, allocations: 9.376 MB / 0.502 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2956/0.5377, allocations: 38.92 MB / 0.54 GB, free: 60.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.5441, allocations: 3.494 MB / 0.5434 GB, free: 59.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.5464, allocations: 1.272 MB / 0.5447 GB, free: 59.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.5576, allocations: 5.459 MB / 0.55 GB, free: 57.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.5577, allocations: 51.38 kB / 0.55 GB, free: 57.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 7.574e-06/0.5577, allocations: 0.8125 kB / 0.55 GB, free: 57.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.008059/0.5658, allocations: 3.361 MB / 0.5533 GB, free: 57.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.5659, allocations: 170.1 kB / 0.5535 GB, free: 57.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/0.5731, allocations: 3.958 MB / 0.5574 GB, free: 55.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.5733, allocations: 40.73 kB / 0.5574 GB, free: 55.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.5752, allocations: 3.321 MB / 0.5606 GB, free: 53.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/0.576, allocations: 0.6156 MB / 0.5612 GB, free: 52.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.5776, allocations: 1.351 MB / 0.5626 GB, free: 52.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.5777, allocations: 302.8 kB / 0.5628 GB, free: 51.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.5803, allocations: 1.996 MB / 0.5648 GB, free: 51.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/0.5849, allocations: 6.312 MB / 0.571 GB, free: 44.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/0.5928, allocations: 9.058 MB / 0.5798 GB, free: 35.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.593, allocations: 48 kB / 0.5799 GB, free: 35.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01232/0.6053, allocations: 7.927 MB / 0.5876 GB, free: 27.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/0.6055, allocations: 72 kB / 0.5877 GB, free: 27.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.6056, allocations: 152 kB / 0.5878 GB, free: 27.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.6058, allocations: 203.9 kB / 0.588 GB, free: 27.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.6102, allocations: 1.511 MB / 0.5895 GB, free: 26.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001673/0.6104, allocations: 306.7 kB / 0.5898 GB, free: 25.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/0.6155, allocations: 0.9305 MB / 0.5907 GB, free: 24.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/0.6165, allocations: 430 kB / 0.5911 GB, free: 24.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 811 * Array equations: 8 * 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.003704/0.6203, allocations: 2.281 MB / 0.5933 GB, free: 22.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/0.6209, allocations: 315.8 kB / 0.5936 GB, free: 21.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.6216, allocations: 412.2 kB / 0.594 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.737e-05/0.6217, allocations: 43.81 kB / 0.594 GB, free: 21.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.6217, allocations: 7.938 kB / 0.5941 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.6217, allocations: 3.984 kB / 0.5941 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007877/0.6296, allocations: 5.702 MB / 0.5996 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6297, allocations: 8 kB / 0.5996 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.6306, allocations: 216.5 kB / 0.5998 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.6306, allocations: 8 kB / 0.5999 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.6307, allocations: 31.44 kB / 0.5999 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.6307, allocations: 15.88 kB / 0.5999 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6308, allocations: 11.98 kB / 0.5999 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.6331, allocations: 2.592 MB / 0.6024 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.6338, allocations: 384.5 kB / 0.6028 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.6341, allocations: 28.61 kB / 0.6028 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.6351, allocations: 67.06 kB / 0.6029 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6353, allocations: 94.17 kB / 0.603 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/0.6354, allocations: 47.94 kB / 0.603 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00309/0.6385, allocations: 2.411 MB / 0.6054 GB, free: 9.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6385, allocations: 0 / 0.6054 GB, free: 9.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00545/0.644, allocations: 1.132 MB / 0.6065 GB, free: 8.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * 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.0003755/0.6444, allocations: 159.6 kB / 0.6066 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007068/0.6514, allocations: 5.201 MB / 0.6117 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.6515, allocations: 0 / 0.6117 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.6525, allocations: 0.968 MB / 0.6127 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6547, allocations: 362 kB / 0.613 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.6701, allocations: 9.223 MB / 0.622 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/0.6739, allocations: 3.284 MB / 0.6252 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.675, allocations: 284.4 kB / 0.6255 GB, free: 4.859 MB / 430.1 MB Notification: Performance of SimCode: time 1.653e-06/0.675, allocations: 0 / 0.6255 GB, free: 4.859 MB / 430.1 MB Notification: Performance of Templates: time 0.09018/0.7652, allocations: 54.28 MB / 0.6785 GB, free: 14.59 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches