Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002189/0.00219, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.235/3.235, allocations: 205.4 MB / 223.6 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 89.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6443/0.6443, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006111/0.0006115, allocations: 20 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.053, allocations: 105.7 MB / 0.5831 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/1.054, allocations: 79.97 kB / 0.5832 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3107/1.364, allocations: 78.82 MB / 0.6601 GB, free: 13.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.576e-06/1.365, allocations: 0 / 0.6601 GB, free: 13.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002874/1.365, allocations: 79.98 kB / 0.6602 GB, free: 12.96 MB / 490.7 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.01502/1.38, allocations: 3.588 MB / 0.6637 GB, free: 9.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.38, allocations: 8.031 kB / 0.6637 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.395, allocations: 3.372 MB / 0.667 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007282/1.402, allocations: 2.38 MB / 0.6693 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/1.403, allocations: 312.4 kB / 0.6696 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/1.406, allocations: 400.2 kB / 0.67 GB, free: 2.785 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3004/1.706, allocations: 10.74 MB / 0.6805 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/1.707, allocations: 49.84 kB / 0.6806 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/1.708, allocations: 201.9 kB / 0.6808 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00265/1.711, allocations: 1.134 MB / 0.6819 GB, free: 94.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/1.733, allocations: 9.403 MB / 0.691 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.052/1.785, allocations: 46.97 MB / 0.7369 GB, free: 64.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/1.791, allocations: 3.471 MB / 0.7403 GB, free: 62.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/1.793, allocations: 1.271 MB / 0.7416 GB, free: 61.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.805, allocations: 5.307 MB / 0.7467 GB, free: 59.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.48e-05/1.805, allocations: 52.06 kB / 0.7468 GB, free: 58.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 1.14e-05/1.805, allocations: 0 / 0.7468 GB, free: 58.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01254/1.818, allocations: 3.35 MB / 0.7501 GB, free: 57.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.818, allocations: 166.6 kB / 0.7502 GB, free: 57.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.829, allocations: 3.923 MB / 0.754 GB, free: 56.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/1.829, allocations: 45.77 kB / 0.7541 GB, free: 56.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.832, allocations: 3.325 MB / 0.7573 GB, free: 54.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007373/1.832, allocations: 0.6224 MB / 0.7579 GB, free: 53.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/1.833, allocations: 129.7 kB / 0.7581 GB, free: 53.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/1.833, allocations: 0.59 MB / 0.7586 GB, free: 53.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/1.835, allocations: 1.945 MB / 0.7605 GB, free: 52.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/1.839, allocations: 6.239 MB / 0.7666 GB, free: 46.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007696/1.847, allocations: 8.946 MB / 0.7754 GB, free: 38.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.847, allocations: 42.91 kB / 0.7754 GB, free: 38.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01318/1.86, allocations: 7.795 MB / 0.783 GB, free: 35.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/1.861, allocations: 72.78 kB / 0.7831 GB, free: 35.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.861, allocations: 152.2 kB / 0.7832 GB, free: 35.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/1.861, allocations: 199.8 kB / 0.7834 GB, free: 35.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/1.865, allocations: 1.509 MB / 0.7849 GB, free: 34.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001741/1.865, allocations: 296.6 kB / 0.7852 GB, free: 34.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/1.87, allocations: 0.9338 MB / 0.7861 GB, free: 34.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008098/1.871, allocations: 414.4 kB / 0.7865 GB, free: 34.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (816): * Single equations (assignments): 810 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003528/1.874, allocations: 2.282 MB / 0.7887 GB, free: 33.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/1.875, allocations: 314.3 kB / 0.789 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/1.876, allocations: 425.5 kB / 0.7894 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/1.876, allocations: 42.98 kB / 0.7895 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.876, allocations: 0 / 0.7895 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.876, allocations: 11.28 kB / 0.7895 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/1.885, allocations: 5.766 MB / 0.7951 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.885, allocations: 8.375 kB / 0.7951 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/1.886, allocations: 208.8 kB / 0.7953 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.886, allocations: 10.75 kB / 0.7953 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/1.886, allocations: 30.75 kB / 0.7954 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/1.886, allocations: 25.02 kB / 0.7954 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.886, allocations: 6.062 kB / 0.7954 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/1.888, allocations: 2.571 MB / 0.7979 GB, free: 29.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/1.889, allocations: 398.9 kB / 0.7983 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.889, allocations: 29.59 kB / 0.7983 GB, free: 28.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.89, allocations: 62.91 kB / 0.7984 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.89, allocations: 93.81 kB / 0.7985 GB, free: 28.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/1.891, allocations: 47.83 kB / 0.7985 GB, free: 28.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003491/1.894, allocations: 2.389 MB / 0.8008 GB, free: 27.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.894, allocations: 0 / 0.8008 GB, free: 27.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005248/1.899, allocations: 1.14 MB / 0.802 GB, free: 27.59 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000395/1.9, allocations: 158.9 kB / 0.8021 GB, free: 27.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006428/1.906, allocations: 4.459 MB / 0.8065 GB, free: 24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.906, allocations: 1.938 kB / 0.8065 GB, free: 24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.907, allocations: 0.956 MB / 0.8074 GB, free: 23.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.912, allocations: 355.8 kB / 0.8077 GB, free: 22.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.927, allocations: 10.84 MB / 0.8183 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/1.93, allocations: 3.284 MB / 0.8215 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009742/1.931, allocations: 278.3 kB / 0.8218 GB, free: 9.934 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.931, allocations: 4 kB / 0.8218 GB, free: 9.93 MB / 490.7 MB Notification: Performance of Templates: time 0.4092/2.341, allocations: 53.59 MB / 0.8741 GB, free: 110.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches