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.001668/0.001668, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.002058/0.002058, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.519/1.519, allocations: 230.5 MB / 254 MB, free: 15.02 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.2365/0.2365, allocations: 46.91 MB / 357 MB, free: 10.2 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.002714/0.002714, allocations: 79.88 kB / 0.491 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1737, allocations: 66.05 MB / 0.5555 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02405/0.1978, allocations: 11.97 MB / 0.5671 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.2117, allocations: 4.093 MB / 0.5711 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.2169, allocations: 87.69 kB / 0.5712 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006012/0.2229, allocations: 1.682 MB / 0.5729 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006817/0.2297, allocations: 1.557 MB / 0.5744 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.2338, allocations: 1.184 MB / 0.5755 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009002/0.2428, allocations: 3.511 MB / 0.579 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005523/0.2483, allocations: 2.067 MB / 0.581 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.2514, allocations: 1.172 MB / 0.5821 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004053/0.2555, allocations: 1.736 MB / 0.5838 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.2567, allocations: 236 kB / 0.5841 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.2596, allocations: 0.7333 MB / 0.5848 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.2624, allocations: 1.597 MB / 0.5863 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.2654, allocations: 1.859 MB / 0.5882 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2818/0.5472, allocations: 6.143 MB / 0.5941 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5472, allocations: 0 / 0.5941 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5472, allocations: 0 / 0.5941 GB, free: 12.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002812/0.5475, allocations: 0 / 0.5941 GB, free: 12.01 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.01057/0.558, allocations: 4.093 MB / 0.5981 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5581, allocations: 9.531 kB / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001897/0.56, allocations: 0.7156 MB / 0.5989 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.5721, allocations: 2.994 MB / 0.6018 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005966/0.5781, allocations: 1.818 MB / 0.6036 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.5784, allocations: 192.5 kB / 0.6037 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.5803, allocations: 249.1 kB / 0.604 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.6014, allocations: 10.04 MB / 0.6138 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-05/0.6015, allocations: 30.22 kB / 0.6138 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/0.6021, allocations: 129.1 kB / 0.6139 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003761/0.6058, allocations: 2.311 MB / 0.6162 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.621, allocations: 8.932 MB / 0.6249 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/0.6729, allocations: 37.61 MB / 0.6616 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.6793, allocations: 3.249 MB / 0.6648 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.6813, allocations: 1.129 MB / 0.6659 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.6916, allocations: 5.179 MB / 0.671 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.6916, allocations: 50.97 kB / 0.671 GB, free: 5.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 4.959e-06/0.6916, allocations: 0 / 0.671 GB, free: 5.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.008131/0.6997, allocations: 3.341 MB / 0.6743 GB, free: 2.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.6999, allocations: 173.2 kB / 0.6745 GB, free: 2.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/0.7069, allocations: 3.84 MB / 0.6782 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.7071, allocations: 41.7 kB / 0.6782 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002688/0.7098, allocations: 3.315 MB / 0.6815 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/0.7106, allocations: 0.6383 MB / 0.6821 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.7123, allocations: 1.308 MB / 0.6834 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7125, allocations: 301.1 kB / 0.6837 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.7154, allocations: 1.962 MB / 0.6856 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/0.722, allocations: 6.1 MB / 0.6915 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.733, allocations: 8.798 MB / 0.7001 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.7331, allocations: 44 kB / 0.7002 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0157/0.7488, allocations: 7.718 MB / 0.7077 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7489, allocations: 71.94 kB / 0.7078 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.7491, allocations: 148 kB / 0.7079 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.7493, allocations: 192.8 kB / 0.7081 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/0.7541, allocations: 1.46 MB / 0.7095 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002967/0.7544, allocations: 290.9 kB / 0.7098 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/0.7601, allocations: 0.938 MB / 0.7107 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/0.7614, allocations: 396 kB / 0.7111 GB, free: 9.492 MB / 0.5294 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.00464/0.7661, allocations: 2.194 MB / 0.7132 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/0.7669, allocations: 337.7 kB / 0.7136 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.7679, allocations: 408.9 kB / 0.714 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/0.768, allocations: 36 kB / 0.714 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.768, allocations: 0 / 0.714 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.7681, allocations: 11.97 kB / 0.714 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.7783, allocations: 5.467 MB / 0.7193 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.7783, allocations: 4 kB / 0.7193 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.7793, allocations: 207.5 kB / 0.7195 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.7793, allocations: 8.812 kB / 0.7195 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.7794, allocations: 39.28 kB / 0.7196 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.7794, allocations: 8 kB / 0.7196 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.7794, allocations: 12.44 kB / 0.7196 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.7828, allocations: 2.548 MB / 0.7221 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/0.7836, allocations: 386.6 kB / 0.7225 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.7839, allocations: 37.3 kB / 0.7225 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.785, allocations: 63.52 kB / 0.7226 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.7851, allocations: 80.34 kB / 0.7226 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/0.7852, allocations: 40 kB / 0.7227 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003913/0.7891, allocations: 2.339 MB / 0.725 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7891, allocations: 4 kB / 0.725 GB, free: 11.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00524/0.7944, allocations: 1.066 MB / 0.726 GB, free: 10.04 MB / 0.545 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.004084/0.7985, allocations: 3.183 MB / 0.7291 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00756/0.806, allocations: 4.26 MB / 0.7333 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.806, allocations: 1.812 kB / 0.7333 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.8074, allocations: 0.8787 MB / 0.7341 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.8098, allocations: 349.8 kB / 0.7345 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06815/0.8779, allocations: 41.79 MB / 0.7753 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004582/0.8825, allocations: 3.17 MB / 0.7784 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005359/0.8878, allocations: 2.221 MB / 0.7805 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/0.8905, allocations: 1.663 MB / 0.7822 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of SimCode: time 1.422e-06/0.8905, allocations: 0 / 0.7822 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.9996, allocations: 51.28 MB / 0.8322 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.8, allocations: 14.14 kB / 0.8323 GB, free: 6.902 MB / 0.6544 GB " [Timeout remaining time 640] (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: 23.24515558301937]