Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.96 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.91 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3358, allocations: 66.03 MB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01396/0.3497, allocations: 10.33 MB / 0.5714 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008965/0.3587, allocations: 3.891 MB / 0.5752 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.361, allocations: 87.69 kB / 0.5753 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.3652, allocations: 1.635 MB / 0.5769 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.3702, allocations: 1.568 MB / 0.5784 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.373, allocations: 1.145 MB / 0.5796 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005825/0.3789, allocations: 3.498 MB / 0.583 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003742/0.3826, allocations: 1.996 MB / 0.5849 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.385, allocations: 1.179 MB / 0.5861 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.3884, allocations: 1.725 MB / 0.5878 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009286/0.3894, allocations: 236 kB / 0.588 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.3912, allocations: 0.6279 MB / 0.5886 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3935, allocations: 1.593 MB / 0.5902 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.3963, allocations: 1.307 MB / 0.5914 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.405, allocations: 6.181 MB / 0.5975 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.405, allocations: 0 / 0.5975 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.405, allocations: 0 / 0.5975 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002265/0.4052, allocations: 0 / 0.5975 GB, free: 15.07 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01026/0.4154, allocations: 4.015 MB / 0.6014 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4155, allocations: 8.031 kB / 0.6014 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001617/0.4157, allocations: 97.11 kB / 0.6015 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002049/0.4177, allocations: 0.7086 MB / 0.6022 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.4283, allocations: 3.001 MB / 0.6051 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.433, allocations: 1.767 MB / 0.6068 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.4333, allocations: 200.7 kB / 0.607 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.4345, allocations: 243.8 kB / 0.6073 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.4535, allocations: 10.04 MB / 0.6171 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.4537, allocations: 27.75 kB / 0.6171 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005898/0.4542, allocations: 123.8 kB / 0.6172 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.458, allocations: 2.321 MB / 0.6195 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.4745, allocations: 8.929 MB / 0.6282 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05278/0.5273, allocations: 36.03 MB / 0.6634 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/0.533, allocations: 2.335 MB / 0.6657 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.5349, allocations: 1.142 MB / 0.6668 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009195/0.5441, allocations: 4.502 MB / 0.6712 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5441, allocations: 47.16 kB / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.649e-06/0.5441, allocations: 0 / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007597/0.5517, allocations: 3.343 MB / 0.6745 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.5518, allocations: 174.9 kB / 0.6747 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/0.5575, allocations: 3.834 MB / 0.6784 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.5577, allocations: 41.7 kB / 0.6784 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/0.5606, allocations: 3.317 MB / 0.6817 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008498/0.5614, allocations: 0.6321 MB / 0.6823 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/0.5634, allocations: 1.31 MB / 0.6836 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5635, allocations: 309.1 kB / 0.6839 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.5666, allocations: 1.953 MB / 0.6858 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006941/0.5735, allocations: 6.096 MB / 0.6917 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.585, allocations: 8.796 MB / 0.7003 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001666/0.5852, allocations: 51.94 kB / 0.7004 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01552/0.6007, allocations: 7.726 MB / 0.7079 GB, free: 7.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6009, allocations: 68 kB / 0.708 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/0.6011, allocations: 148 kB / 0.7081 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.6013, allocations: 192 kB / 0.7083 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004855/0.6062, allocations: 1.458 MB / 0.7097 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/0.6064, allocations: 286.9 kB / 0.71 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/0.6117, allocations: 0.9348 MB / 0.7109 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.6128, allocations: 400 kB / 0.7113 GB, free: 4.227 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (791): * Single equations (assignments): 783 * 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.004271/0.6171, allocations: 2.203 MB / 0.7134 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.6177, allocations: 329.7 kB / 0.7138 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/0.6185, allocations: 407.5 kB / 0.7141 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.445e-05/0.6186, allocations: 32 kB / 0.7142 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6186, allocations: 0 / 0.7142 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.6186, allocations: 12.28 kB / 0.7142 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009561/0.6282, allocations: 5.267 MB / 0.7193 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.6282, allocations: 15.94 kB / 0.7193 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/0.6292, allocations: 212.2 kB / 0.7195 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.6292, allocations: 16 kB / 0.7196 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.6293, allocations: 24 kB / 0.7196 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.177e-05/0.6293, allocations: 19.92 kB / 0.7196 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.6293, allocations: 4 kB / 0.7196 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.6329, allocations: 2.546 MB / 0.7221 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/0.6336, allocations: 317.4 kB / 0.7224 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/0.634, allocations: 24 kB / 0.7224 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.635, allocations: 67.91 kB / 0.7225 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.6352, allocations: 92.23 kB / 0.7226 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6353, allocations: 36 kB / 0.7226 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004007/0.6393, allocations: 2.338 MB / 0.7249 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6393, allocations: 0 / 0.7249 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004908/0.6442, allocations: 1.072 MB / 0.7259 GB, free: 5.008 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.003885/0.6481, allocations: 3.187 MB / 0.7291 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2349/0.8831, allocations: 4.245 MB / 0.7332 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.8831, allocations: 3.812 kB / 0.7332 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8841, allocations: 0.8768 MB / 0.7341 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.8859, allocations: 345.8 kB / 0.7344 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04283/0.9288, allocations: 41.81 MB / 0.7752 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/0.9323, allocations: 2.619 MB / 0.7778 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004453/0.9367, allocations: 2.224 MB / 0.7799 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/0.9391, allocations: 1.655 MB / 0.7816 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/0.9391, allocations: 3.938 kB / 0.7816 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0868/1.026, allocations: 52.86 MB / 0.8332 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.07/23.1, allocations: 4.062 kB / 0.8332 GB, free: 56.62 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.56927339802496]