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.0008517/0.0008517, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008215/0.0008215, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8883/0.8883, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2495/0.2495, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 1.463e-06/1.463e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.355e-05, allocations: 6.281 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1858/0.1858, allocations: 10.41 MB / 452.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.1916, allocations: 3.906 MB / 456.5 MB, free: 35.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.1938, allocations: 88.28 kB / 456.5 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.1959, allocations: 1.71 MB / 458.3 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.1987, allocations: 1.609 MB / 459.9 MB, free: 34.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1999, allocations: 1.221 MB / 461.1 MB, free: 34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.2032, allocations: 3.562 MB / 464.6 MB, free: 32.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.205, allocations: 1.998 MB / 466.6 MB, free: 31.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.2069, allocations: 1.713 MB / 468.4 MB, free: 31.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.2086, allocations: 1.621 MB / 470 MB, free: 30.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.2092, allocations: 236.9 kB / 470.2 MB, free: 30.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.2102, allocations: 0.6877 MB / 470.9 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009499/0.2111, allocations: 1.645 MB / 472.5 MB, free: 29.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.2122, allocations: 0.94 MB / 473.5 MB, free: 29.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004528/0.2167, allocations: 6.027 MB / 479.5 MB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2167, allocations: 4 kB / 479.5 MB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.2167, allocations: 0 / 479.5 MB, free: 27.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001597/0.2169, allocations: 0 / 479.5 MB, free: 27.16 MB / 410.7 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.006118/0.223, allocations: 3.958 MB / 483.5 MB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.223, allocations: 10.22 kB / 483.5 MB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001024/0.2241, allocations: 0.7179 MB / 484.2 MB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.2303, allocations: 3.023 MB / 487.2 MB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.2345, allocations: 1.769 MB / 489 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.2346, allocations: 196.3 kB / 489.2 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.2357, allocations: 241.6 kB / 489.4 MB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.2512, allocations: 10.06 MB / 499.5 MB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.2513, allocations: 31.84 kB / 499.5 MB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.2517, allocations: 126.6 kB / 499.6 MB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003174/0.2549, allocations: 2.313 MB / 0.4902 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.2676, allocations: 8.929 MB / 0.4989 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03551/0.3031, allocations: 36.11 MB / 0.5342 GB, free: 6.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.3068, allocations: 2.425 MB / 0.5365 GB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.3079, allocations: 1.125 MB / 0.5376 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006097/0.314, allocations: 4.575 MB / 0.5421 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.314, allocations: 55.16 kB / 0.5422 GB, free: 13.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 4.729e-06/0.314, allocations: 0 / 0.5422 GB, free: 13.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.004709/0.3187, allocations: 3.455 MB / 0.5455 GB, free: 10.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.3188, allocations: 174.8 kB / 0.5457 GB, free: 10.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004752/0.3235, allocations: 4.085 MB / 0.5497 GB, free: 6.066 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.3238, allocations: 41.7 kB / 0.5497 GB, free: 6.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.3255, allocations: 3.282 MB / 0.5529 GB, free: 2.703 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.3262, allocations: 0.6204 MB / 0.5535 GB, free: 2.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.3276, allocations: 1.29 MB / 0.5548 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.3278, allocations: 305.1 kB / 0.5551 GB, free: 488 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.3301, allocations: 1.957 MB / 0.557 GB, free: 14.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.3342, allocations: 6.104 MB / 0.563 GB, free: 6.336 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/0.3415, allocations: 8.792 MB / 0.5715 GB, free: 11.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.3416, allocations: 48 kB / 0.5716 GB, free: 11.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0096/0.3512, allocations: 7.723 MB / 0.5791 GB, free: 3.707 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.3513, allocations: 72.03 kB / 0.5792 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/0.3516, allocations: 151.9 kB / 0.5793 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.3517, allocations: 199.9 kB / 0.5795 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.3542, allocations: 1.45 MB / 0.5809 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.3544, allocations: 290.9 kB / 0.5812 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.3572, allocations: 0.9384 MB / 0.5821 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.3576, allocations: 400.2 kB / 0.5825 GB, free: 224 kB / 490.7 MB 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.002456/0.36, allocations: 2.196 MB / 0.5847 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.3604, allocations: 325.8 kB / 0.585 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.3608, allocations: 407 kB / 0.5854 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/0.3608, allocations: 39.94 kB / 0.5854 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3608, allocations: 0 / 0.5854 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3608, allocations: 7.969 kB / 0.5854 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00606/0.3669, allocations: 5.306 MB / 0.5906 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.3669, allocations: 8.875 kB / 0.5906 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.3674, allocations: 204.3 kB / 0.5908 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.3674, allocations: 12 kB / 0.5908 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.3675, allocations: 32 kB / 0.5908 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.3675, allocations: 11.98 kB / 0.5909 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.3675, allocations: 15.88 kB / 0.5909 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.3695, allocations: 2.536 MB / 0.5933 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/0.3702, allocations: 309.5 kB / 0.5936 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.3704, allocations: 24 kB / 0.5937 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.3709, allocations: 63.92 kB / 0.5937 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3711, allocations: 96.17 kB / 0.5938 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.3711, allocations: 39.98 kB / 0.5939 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002625/0.3738, allocations: 2.338 MB / 0.5961 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3738, allocations: 0 / 0.5961 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003516/0.3773, allocations: 1.075 MB / 0.5972 GB, free: 0.9922 MB / 0.4948 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.002402/0.3797, allocations: 3.164 MB / 0.6003 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005084/0.3848, allocations: 4.26 MB / 0.6044 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.3848, allocations: 3.938 kB / 0.6044 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.3856, allocations: 0.8779 MB / 0.6053 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.387, allocations: 357.4 kB / 0.6056 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2124/0.5994, allocations: 41.54 MB / 0.6462 GB, free: 165.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.6013, allocations: 2.615 MB / 0.6488 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002636/0.6039, allocations: 2.228 MB / 0.6509 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.6051, allocations: 1.657 MB / 0.6526 GB, free: 163.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.763e-06/0.6051, allocations: 0 / 0.6526 GB, free: 163.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06682/0.6719, allocations: 49.91 MB / 0.7013 GB, free: 144.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.748/10.42, allocations: 12 kB / 0.7013 GB, free: 144.9 MB / 0.5417 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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: 12.572755880653858]