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.002135/0.002135, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 94.66 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2951/0.2951, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.625e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3938, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.6567, allocations: 104.8 MB / 0.5682 GB, free: 10.53 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004202/0.6572, allocations: 83.45 kB / 0.5683 GB, free: 10.45 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7071/1.364, allocations: 78.23 MB / 0.6447 GB, free: 111.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.685e-06/1.364, allocations: 0 / 0.6447 GB, free: 111.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002146/1.365, allocations: 71.95 kB / 0.6447 GB, free: 111.1 MB / 475.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.01437/1.379, allocations: 3.573 MB / 0.6482 GB, free: 109.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.379, allocations: 10.23 kB / 0.6482 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03185/1.411, allocations: 3.373 MB / 0.6515 GB, free: 109.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009884/1.421, allocations: 2.346 MB / 0.6538 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/1.421, allocations: 132.6 kB / 0.6539 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/1.424, allocations: 232.5 kB / 0.6542 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/1.442, allocations: 6.689 MB / 0.6607 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/1.468, allocations: 10.01 MB / 0.6705 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/1.468, allocations: 50.14 kB / 0.6705 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/1.47, allocations: 30.12 kB / 0.6705 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/1.472, allocations: 1.138 MB / 0.6716 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06907/1.541, allocations: 45.97 MB / 0.7165 GB, free: 72.96 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/1.546, allocations: 2.791 MB / 0.7193 GB, free: 71.16 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/1.548, allocations: 1.023 MB / 0.7203 GB, free: 70.79 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.548, allocations: 26.39 kB / 0.7203 GB, free: 70.79 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.548, allocations: 54.62 kB / 0.7203 GB, free: 70.73 MB / 475.1 MB Notification: Performance of pre-optimization done (n=179): time 5.942e-06/1.548, allocations: 0 / 0.7203 GB, free: 70.73 MB / 475.1 MB Notification: Performance of matching and sorting (n=179): time 0.007529/1.556, allocations: 2.387 MB / 0.7227 GB, free: 69.99 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.556, allocations: 172.3 kB / 0.7228 GB, free: 69.8 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007562/1.563, allocations: 3.128 MB / 0.7259 GB, free: 68.55 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000333/1.564, allocations: 29.52 kB / 0.7259 GB, free: 68.52 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.567, allocations: 3.384 MB / 0.7292 GB, free: 65.82 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.568, allocations: 0.6959 MB / 0.7299 GB, free: 65.32 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00081/1.569, allocations: 0 / 0.7299 GB, free: 65.32 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0007237/1.569, allocations: 0.6173 MB / 0.7305 GB, free: 64.88 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/1.574, allocations: 1.911 MB / 0.7324 GB, free: 64.25 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008241/1.583, allocations: 6.456 MB / 0.7387 GB, free: 57.23 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008052/1.591, allocations: 3.577 MB / 0.7422 GB, free: 54.57 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/1.591, allocations: 44 kB / 0.7422 GB, free: 54.53 MB / 475.1 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.01965/1.611, allocations: 7.199 MB / 0.7492 GB, free: 48.16 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/1.611, allocations: 76.03 kB / 0.7493 GB, free: 48.08 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002734/1.611, allocations: 164 kB / 0.7495 GB, free: 47.92 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/1.611, allocations: 240 kB / 0.7497 GB, free: 47.69 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009567/1.621, allocations: 1.622 MB / 0.7513 GB, free: 46.25 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002744/1.621, allocations: 322.5 kB / 0.7516 GB, free: 45.97 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/1.628, allocations: 0.8117 MB / 0.7524 GB, free: 45.17 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.63, allocations: 443.6 kB / 0.7528 GB, free: 44.74 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 874 * 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.001651/1.631, allocations: 0.4904 MB / 0.7533 GB, free: 44.24 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/1.632, allocations: 304 kB / 0.7536 GB, free: 43.94 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/1.637, allocations: 1.884 MB / 0.7554 GB, free: 42.32 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/1.637, allocations: 48.14 kB / 0.7555 GB, free: 42.27 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.637, allocations: 0 / 0.7555 GB, free: 42.27 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/1.637, allocations: 11.48 kB / 0.7555 GB, free: 42.27 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.653, allocations: 5.75 MB / 0.7611 GB, free: 37.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.653, allocations: 8.969 kB / 0.7611 GB, free: 37.3 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.656, allocations: 255.6 kB / 0.7613 GB, free: 37.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.473e-05/1.656, allocations: 12 kB / 0.7614 GB, free: 37.08 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.656, allocations: 20 kB / 0.7614 GB, free: 37.06 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/1.656, allocations: 22.3 kB / 0.7614 GB, free: 37.04 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/1.656, allocations: 8 kB / 0.7614 GB, free: 37.04 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/1.662, allocations: 3.61 MB / 0.7649 GB, free: 33.33 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.663, allocations: 379.5 kB / 0.7653 GB, free: 32.95 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.664, allocations: 12 kB / 0.7653 GB, free: 32.93 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.666, allocations: 49.89 kB / 0.7654 GB, free: 32.91 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/1.667, allocations: 101.3 kB / 0.7654 GB, free: 32.84 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.667, allocations: 48 kB / 0.7655 GB, free: 32.79 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.005425/1.673, allocations: 2.049 MB / 0.7675 GB, free: 31.03 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.403e-06/1.673, allocations: 0 / 0.7675 GB, free: 31.03 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.008125/1.681, allocations: 1.023 MB / 0.7685 GB, free: 30 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.0007228/1.682, allocations: 145.7 kB / 0.7686 GB, free: 29.86 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.009431/1.691, allocations: 4.397 MB / 0.7729 GB, free: 25.87 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.691, allocations: 4.562 kB / 0.7729 GB, free: 25.86 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.693, allocations: 1.046 MB / 0.774 GB, free: 24.91 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.695, allocations: 254.4 kB / 0.7742 GB, free: 24.68 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.716, allocations: 7.862 MB / 0.7819 GB, free: 17.43 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007249/1.724, allocations: 3.371 MB / 0.7852 GB, free: 14.04 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.725, allocations: 287.4 kB / 0.7854 GB, free: 13.76 MB / 475.1 MB Notification: Performance of SimCode: time 1.492e-06/1.725, allocations: 0 / 0.7854 GB, free: 13.76 MB / 475.1 MB Notification: Performance of Templates: time 0.4586/2.184, allocations: 51.84 MB / 0.8361 GB, free: 107.6 MB / 0.4952 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