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.001319/0.001319, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001484/0.001484, allocations: 208.6 kB / 23.72 MB, free: 4.391 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2247/0.2247, allocations: 46.94 MB / 360.8 MB, free: 3.902 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.002615/0.002615, allocations: 75.88 kB / 0.4961 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3274, allocations: 66.09 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01322/0.3406, allocations: 10.39 MB / 0.5708 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00899/0.3496, allocations: 3.907 MB / 0.5746 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.3518, allocations: 87.69 kB / 0.5747 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.3556, allocations: 1.643 MB / 0.5763 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.3602, allocations: 1.561 MB / 0.5779 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.3629, allocations: 1.142 MB / 0.579 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005698/0.3686, allocations: 3.505 MB / 0.5824 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.3719, allocations: 1.984 MB / 0.5843 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.3739, allocations: 1.172 MB / 0.5855 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.3767, allocations: 1.658 MB / 0.5871 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008881/0.3776, allocations: 236 kB / 0.5873 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.3793, allocations: 0.6241 MB / 0.5879 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00203/0.3814, allocations: 1.589 MB / 0.5895 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.3844, allocations: 1.303 MB / 0.5908 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008786/0.3932, allocations: 6.177 MB / 0.5968 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3932, allocations: 0 / 0.5968 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3932, allocations: 0 / 0.5968 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002901/0.3935, allocations: 3.938 kB / 0.5968 GB, free: 14.82 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.00964/0.4031, allocations: 4.015 MB / 0.6007 GB, free: 10.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4032, allocations: 12.03 kB / 0.6007 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.4049, allocations: 0.7125 MB / 0.6014 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009982/0.4148, allocations: 2.993 MB / 0.6043 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/0.4196, allocations: 1.775 MB / 0.6061 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.4198, allocations: 196.9 kB / 0.6063 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.4206, allocations: 251.8 kB / 0.6065 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.4367, allocations: 10.03 MB / 0.6163 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.575e-05/0.4368, allocations: 31.69 kB / 0.6163 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006323/0.4374, allocations: 123.8 kB / 0.6164 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.4411, allocations: 2.317 MB / 0.6187 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.457, allocations: 8.91 MB / 0.6274 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05511/0.5121, allocations: 36.02 MB / 0.6626 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005841/0.518, allocations: 2.349 MB / 0.6649 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.5199, allocations: 1.128 MB / 0.666 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.5302, allocations: 4.494 MB / 0.6704 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.5302, allocations: 63.08 kB / 0.6704 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.402e-06/0.5303, allocations: 0 / 0.6704 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.00771/0.538, allocations: 3.339 MB / 0.6737 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.5381, allocations: 170.8 kB / 0.6739 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007775/0.5459, allocations: 4.089 MB / 0.6779 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.5461, allocations: 45.64 kB / 0.6779 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003026/0.5491, allocations: 3.322 MB / 0.6811 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009135/0.5501, allocations: 0.6282 MB / 0.6818 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002534/0.5526, allocations: 1.314 MB / 0.683 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5527, allocations: 309.1 kB / 0.6833 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003369/0.5561, allocations: 1.953 MB / 0.6852 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007698/0.5638, allocations: 6.108 MB / 0.6912 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.5751, allocations: 8.793 MB / 0.6998 GB, free: 15.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001829/0.5752, allocations: 40 kB / 0.6998 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01526/0.5905, allocations: 7.725 MB / 0.7074 GB, free: 7.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.5908, allocations: 68 kB / 0.7074 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004572/0.5912, allocations: 148.8 kB / 0.7076 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.5916, allocations: 192 kB / 0.7078 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/0.5967, allocations: 1.458 MB / 0.7092 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003228/0.597, allocations: 286.9 kB / 0.7095 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/0.6021, allocations: 0.9306 MB / 0.7104 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000958/0.603, allocations: 404 kB / 0.7108 GB, free: 3.816 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.004089/0.6071, allocations: 2.199 MB / 0.7129 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006611/0.6078, allocations: 325.7 kB / 0.7132 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/0.6087, allocations: 407.1 kB / 0.7136 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/0.6088, allocations: 43.98 kB / 0.7136 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6088, allocations: 4 kB / 0.7136 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6088, allocations: 3.984 kB / 0.7136 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.6206, allocations: 5.271 MB / 0.7188 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.6206, allocations: 4.312 kB / 0.7188 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6217, allocations: 215.7 kB / 0.719 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/0.6217, allocations: 11.94 kB / 0.719 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.6218, allocations: 27.98 kB / 0.719 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.6218, allocations: 12 kB / 0.7191 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.6218, allocations: 12.12 kB / 0.7191 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.6252, allocations: 2.552 MB / 0.7216 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009025/0.6262, allocations: 313.4 kB / 0.7219 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/0.6268, allocations: 31.98 kB / 0.7219 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.628, allocations: 59.92 kB / 0.7219 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6282, allocations: 84.23 kB / 0.722 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6283, allocations: 47.98 kB / 0.7221 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004622/0.6329, allocations: 2.33 MB / 0.7243 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6329, allocations: 0 / 0.7243 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005719/0.6386, allocations: 1.075 MB / 0.7254 GB, free: 4.602 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.004469/0.6431, allocations: 3.176 MB / 0.7285 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2745/0.9175, allocations: 4.248 MB / 0.7326 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.9176, allocations: 2.438 kB / 0.7326 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.9187, allocations: 0.8788 MB / 0.7335 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.9213, allocations: 350.7 kB / 0.7338 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04985/0.9712, allocations: 41.8 MB / 0.7747 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/0.9737, allocations: 2.619 MB / 0.7772 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003866/0.9775, allocations: 2.222 MB / 0.7794 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/0.9794, allocations: 1.667 MB / 0.781 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.9794, allocations: 0 / 0.781 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08362/1.063, allocations: 49.89 MB / 0.8297 GB, free: 59.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.39, allocations: 0 / 0.8297 GB, free: 59.02 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.37501733424142]