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.001558/0.001558, allocations: 184.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001119/0.001119, allocations: 85.3 kB / 270.9 MB, free: 8.371 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.532/0.5321, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 16 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.3627/0.4917, allocations: 22.41 MB / 0.5006 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.5099, allocations: 6.157 MB / 0.5066 GB, free: 30.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005676/0.5156, allocations: 115 kB / 0.5067 GB, free: 30.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.5201, allocations: 1.169 MB / 0.5079 GB, free: 29.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.5335, allocations: 3.145 MB / 0.5109 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.5367, allocations: 0.538 MB / 0.5115 GB, free: 28.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005662/0.5424, allocations: 2.034 MB / 0.5135 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005373/0.5479, allocations: 2.825 MB / 0.5162 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.5498, allocations: 0.853 MB / 0.517 GB, free: 26.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.5521, allocations: 1.123 MB / 0.5181 GB, free: 25.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000791/0.5529, allocations: 127.7 kB / 0.5183 GB, free: 25.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.5547, allocations: 0.5234 MB / 0.5188 GB, free: 25.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002151/0.5569, allocations: 1.38 MB / 0.5201 GB, free: 25.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009722/0.558, allocations: 0.7907 MB / 0.5209 GB, free: 24.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006974/0.5649, allocations: 4.965 MB / 0.5257 GB, free: 23.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.565, allocations: 0 / 0.5257 GB, free: 23.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.565, allocations: 0 / 0.5257 GB, free: 23.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002461/0.5653, allocations: 0 / 0.5257 GB, free: 23.51 MB / 378.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.009518/0.5748, allocations: 3.506 MB / 0.5292 GB, free: 21.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5749, allocations: 8.625 kB / 0.5292 GB, free: 21.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/0.5968, allocations: 3.669 MB / 0.5328 GB, free: 20.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005976/0.6028, allocations: 1.83 MB / 0.5345 GB, free: 19.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.603, allocations: 199.5 kB / 0.5347 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.6045, allocations: 257.7 kB / 0.535 GB, free: 19.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.6307, allocations: 10.52 MB / 0.5453 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.6309, allocations: 40.08 kB / 0.5453 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/0.6327, allocations: 131.7 kB / 0.5454 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007194/0.6399, allocations: 2.438 MB / 0.5478 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.666, allocations: 9.353 MB / 0.5569 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08003/0.7461, allocations: 38.96 MB / 0.595 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.7569, allocations: 3.503 MB / 0.5984 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/0.7747, allocations: 5.471 MB / 0.6038 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/0.7749, allocations: 47.06 kB / 0.6038 GB, free: 3.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.29e-06/0.7749, allocations: 0 / 0.6038 GB, free: 3.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01473/0.7896, allocations: 3.871 MB / 0.6076 GB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.7898, allocations: 170.8 kB / 0.6077 GB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.8, allocations: 3.932 MB / 0.6116 GB, free: 11.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.8005, allocations: 45.7 kB / 0.6116 GB, free: 11.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004023/0.8045, allocations: 3.307 MB / 0.6149 GB, free: 8.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.8059, allocations: 0.6252 MB / 0.6155 GB, free: 7.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000841/0.8068, allocations: 124 kB / 0.6156 GB, free: 7.445 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007629/0.8076, allocations: 0.5959 MB / 0.6162 GB, free: 6.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/0.8138, allocations: 1.977 MB / 0.6181 GB, free: 4.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/0.8248, allocations: 6.256 MB / 0.6242 GB, free: 12.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009635/0.8345, allocations: 3.526 MB / 0.6277 GB, free: 8.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/0.8348, allocations: 47.94 kB / 0.6277 GB, free: 8.883 MB / 458.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.02367/0.8585, allocations: 7.808 MB / 0.6353 GB, free: 1.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.8587, allocations: 72 kB / 0.6354 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002748/0.8589, allocations: 152 kB / 0.6355 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.8593, allocations: 224 kB / 0.6357 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009585/0.8689, allocations: 1.506 MB / 0.6372 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/0.8693, allocations: 298.9 kB / 0.6375 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/0.8767, allocations: 0.9551 MB / 0.6384 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/0.8782, allocations: 416 kB / 0.6388 GB, free: 13.46 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006846/0.8851, allocations: 2.288 MB / 0.6411 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/0.886, allocations: 319.8 kB / 0.6414 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.8875, allocations: 412.2 kB / 0.6418 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/0.8877, allocations: 43.98 kB / 0.6418 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.8877, allocations: 7.953 kB / 0.6418 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8877, allocations: 7.969 kB / 0.6418 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.9058, allocations: 5.684 MB / 0.6474 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.9059, allocations: 4 kB / 0.6474 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/0.908, allocations: 215.7 kB / 0.6476 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/0.9081, allocations: 12.75 kB / 0.6476 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/0.9083, allocations: 24 kB / 0.6476 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.9084, allocations: 23.92 kB / 0.6476 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.9084, allocations: 8 kB / 0.6477 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.9148, allocations: 3.249 MB / 0.6508 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.916, allocations: 396.5 kB / 0.6512 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/0.9171, allocations: 24 kB / 0.6512 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.9194, allocations: 71.91 kB / 0.6513 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.92, allocations: 76.31 kB / 0.6514 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.9202, allocations: 55.97 kB / 0.6514 GB, free: 172 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006946/0.9271, allocations: 2.388 MB / 0.6538 GB, free: 13.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.9272, allocations: 0 / 0.6538 GB, free: 13.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007566/0.9348, allocations: 1.133 MB / 0.6549 GB, free: 12.66 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.0007276/0.9356, allocations: 162.9 kB / 0.655 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.9474, allocations: 4.503 MB / 0.6594 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.9475, allocations: 0 / 0.6594 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.95, allocations: 0.961 MB / 0.6603 GB, free: 7.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.9527, allocations: 337.9 kB / 0.6607 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.9808, allocations: 10.77 MB / 0.6712 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008214/0.9891, allocations: 3.37 MB / 0.6745 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/0.991, allocations: 287.4 kB / 0.6748 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/0.9911, allocations: 0 / 0.6748 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of Templates: time 0.4764/1.467, allocations: 52.79 MB / 0.7263 GB, free: 134.3 MB / 0.4948 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