Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002238/0.002238, allocations: 213.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2641/0.2641, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 75.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3563, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01558/0.3719, allocations: 12 MB / 0.5724 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.3815, allocations: 4.109 MB / 0.5765 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.3839, allocations: 87.69 kB / 0.5765 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004105/0.388, allocations: 1.693 MB / 0.5782 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.3926, allocations: 1.561 MB / 0.5797 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3956, allocations: 1.208 MB / 0.5809 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006409/0.402, allocations: 3.513 MB / 0.5843 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/0.4057, allocations: 2 MB / 0.5863 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.4082, allocations: 1.172 MB / 0.5874 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.4115, allocations: 1.729 MB / 0.5891 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.4125, allocations: 240 kB / 0.5893 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.4146, allocations: 0.7372 MB / 0.5901 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.417, allocations: 1.589 MB / 0.5916 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003242/0.4202, allocations: 1.855 MB / 0.5934 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009625/0.4298, allocations: 6.15 MB / 0.5994 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4299, allocations: 0 / 0.5994 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4299, allocations: 0 / 0.5994 GB, free: 12.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002684/0.4301, allocations: 3.938 kB / 0.5994 GB, free: 12.44 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.01171/0.4418, allocations: 4.015 MB / 0.6034 GB, free: 8.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.4419, allocations: 11.97 kB / 0.6034 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/0.444, allocations: 0.7125 MB / 0.6041 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4544, allocations: 2.997 MB / 0.607 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.4596, allocations: 1.755 MB / 0.6087 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4598, allocations: 196.9 kB / 0.6089 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.4611, allocations: 247.8 kB / 0.6091 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.4836, allocations: 10.04 MB / 0.6189 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.4838, allocations: 31.69 kB / 0.619 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.4853, allocations: 127.8 kB / 0.6191 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00485/0.4902, allocations: 2.306 MB / 0.6213 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.5097, allocations: 8.941 MB / 0.6301 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05914/0.5689, allocations: 37.47 MB / 0.6667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/0.5749, allocations: 2.347 MB / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.577, allocations: 1.132 MB / 0.6701 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.5882, allocations: 4.72 MB / 0.6747 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.5882, allocations: 51.16 kB / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 6.703e-06/0.5882, allocations: 0 / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.008265/0.5965, allocations: 3.347 MB / 0.678 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.5966, allocations: 166.9 kB / 0.6781 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008147/0.6048, allocations: 3.837 MB / 0.6819 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.6051, allocations: 41.7 kB / 0.6819 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003361/0.6084, allocations: 3.329 MB / 0.6852 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.6096, allocations: 0.6282 MB / 0.6858 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002806/0.6124, allocations: 1.31 MB / 0.6871 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6125, allocations: 301.1 kB / 0.6874 GB, free: 284 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003643/0.6162, allocations: 1.957 MB / 0.6893 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007841/0.624, allocations: 6.108 MB / 0.6952 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.6355, allocations: 8.786 MB / 0.7038 GB, free: 11.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/0.6357, allocations: 44.28 kB / 0.7039 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01586/0.6515, allocations: 7.729 MB / 0.7114 GB, free: 3.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.6516, allocations: 68 kB / 0.7115 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002354/0.6519, allocations: 148 kB / 0.7116 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.6521, allocations: 196 kB / 0.7118 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/0.6571, allocations: 1.455 MB / 0.7132 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/0.6574, allocations: 286.9 kB / 0.7135 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/0.6626, allocations: 0.9347 MB / 0.7144 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.6638, allocations: 412 kB / 0.7148 GB, free: 12 kB / 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.004808/0.6686, allocations: 2.195 MB / 0.7169 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007534/0.6694, allocations: 325.7 kB / 0.7172 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6706, allocations: 407.1 kB / 0.7176 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/0.6707, allocations: 35.98 kB / 0.7177 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.6707, allocations: 4 kB / 0.7177 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6707, allocations: 3.984 kB / 0.7177 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.684, allocations: 5.443 MB / 0.723 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.684, allocations: 8.031 kB / 0.723 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.6851, allocations: 203.7 kB / 0.7232 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.433e-05/0.6852, allocations: 15.92 kB / 0.7232 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.6853, allocations: 43.91 kB / 0.7233 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/0.6854, allocations: 11.94 kB / 0.7233 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.6854, allocations: 11.94 kB / 0.7233 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.6894, allocations: 2.542 MB / 0.7258 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.6905, allocations: 317.4 kB / 0.7261 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000771/0.6912, allocations: 23.98 kB / 0.7261 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.6926, allocations: 67.91 kB / 0.7261 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.6929, allocations: 88.19 kB / 0.7262 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.693, allocations: 43.98 kB / 0.7263 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005572/0.6986, allocations: 2.334 MB / 0.7286 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6986, allocations: 0 / 0.7286 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006872/0.7054, allocations: 1.072 MB / 0.7296 GB, free: 0.6289 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.2646/0.9701, allocations: 3.175 MB / 0.7327 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006443/0.9765, allocations: 4.26 MB / 0.7369 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.9765, allocations: 5.5 kB / 0.7369 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.9776, allocations: 0.8702 MB / 0.7377 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.9799, allocations: 348.2 kB / 0.738 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05415/1.034, allocations: 41.8 MB / 0.7789 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/1.039, allocations: 3.16 MB / 0.782 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00524/1.044, allocations: 2.23 MB / 0.7841 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003246/1.048, allocations: 1.659 MB / 0.7858 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.954e-06/1.048, allocations: 0 / 0.7858 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09699/1.144, allocations: 56.56 MB / 0.841 GB, free: 45.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.8/22.94, allocations: 21.55 kB / 0.841 GB, free: 45.79 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv","/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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable freeMotion.r[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! Error: Could not read variable freeMotion.r[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! Error: Could not read variable freeMotion.r[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.196683106994897]