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.001802/0.001802, allocations: 112 kB / 20.48 MB, free: 1.27 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.001604/0.001604, allocations: 207.5 kB / 23.77 MB, free: 4.445 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2361/0.2361, allocations: 46.95 MB / 360.8 MB, free: 3.984 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.002416/0.002416, allocations: 75.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3439, allocations: 66.09 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01471/0.3586, allocations: 10.4 MB / 0.5709 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009113/0.3677, allocations: 3.903 MB / 0.5747 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.3697, allocations: 87.69 kB / 0.5748 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.3734, allocations: 1.639 MB / 0.5764 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.3775, allocations: 1.561 MB / 0.5779 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.38, allocations: 1.149 MB / 0.579 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.3853, allocations: 3.494 MB / 0.5824 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.3885, allocations: 1.984 MB / 0.5844 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.3906, allocations: 1.172 MB / 0.5855 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.3932, allocations: 1.658 MB / 0.5871 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.3938, allocations: 236 kB / 0.5874 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.3952, allocations: 0.6163 MB / 0.588 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.3969, allocations: 1.601 MB / 0.5895 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.3985, allocations: 1.303 MB / 0.5908 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007623/0.4061, allocations: 6.169 MB / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.4061, allocations: 4 kB / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4061, allocations: 0 / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001993/0.4063, allocations: 0 / 0.5968 GB, free: 14.85 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.008349/0.4147, allocations: 4.015 MB / 0.6008 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4147, allocations: 16.02 kB / 0.6008 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/0.416, allocations: 0.7125 MB / 0.6015 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4262, allocations: 3.024 MB / 0.6044 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.4315, allocations: 1.775 MB / 0.6062 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.4317, allocations: 196.9 kB / 0.6063 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.4328, allocations: 247.8 kB / 0.6066 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.4498, allocations: 10.05 MB / 0.6164 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/0.4499, allocations: 31.75 kB / 0.6164 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004287/0.4503, allocations: 127.8 kB / 0.6165 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.4543, allocations: 2.31 MB / 0.6188 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4711, allocations: 8.928 MB / 0.6275 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05115/0.5222, allocations: 36.18 MB / 0.6629 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00556/0.5278, allocations: 2.428 MB / 0.6652 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.5296, allocations: 1.128 MB / 0.6663 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009643/0.5393, allocations: 4.599 MB / 0.6708 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.5393, allocations: 51.16 kB / 0.6709 GB, free: 1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.919e-06/0.5393, allocations: 0 / 0.6709 GB, free: 1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007726/0.5471, allocations: 3.452 MB / 0.6742 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.5472, allocations: 170.9 kB / 0.6744 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/0.5533, allocations: 4.085 MB / 0.6784 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.5535, allocations: 41.7 kB / 0.6784 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.5561, allocations: 3.321 MB / 0.6817 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00076/0.5569, allocations: 0.6282 MB / 0.6823 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.5585, allocations: 1.31 MB / 0.6836 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5587, allocations: 313 kB / 0.6839 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/0.5616, allocations: 1.957 MB / 0.6858 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006289/0.5679, allocations: 6.1 MB / 0.6917 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.5787, allocations: 8.797 MB / 0.7003 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/0.5789, allocations: 48 kB / 0.7004 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01502/0.5939, allocations: 7.722 MB / 0.7079 GB, free: 6.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.594, allocations: 68 kB / 0.708 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/0.5942, allocations: 148 kB / 0.7081 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.5944, allocations: 192 kB / 0.7083 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/0.5993, allocations: 1.458 MB / 0.7097 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002877/0.5996, allocations: 290.9 kB / 0.71 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.6043, allocations: 0.9426 MB / 0.7109 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009021/0.6052, allocations: 400 kB / 0.7113 GB, free: 3.328 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.003504/0.6087, allocations: 2.195 MB / 0.7135 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.6093, allocations: 329.7 kB / 0.7138 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.6101, allocations: 411 kB / 0.7142 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/0.6101, allocations: 36 kB / 0.7142 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.6101, allocations: 0 / 0.7142 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.6101, allocations: 11.97 kB / 0.7142 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009659/0.6198, allocations: 5.306 MB / 0.7194 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.6198, allocations: 8 kB / 0.7194 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6208, allocations: 200.3 kB / 0.7196 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.6209, allocations: 19.94 kB / 0.7196 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/0.621, allocations: 28 kB / 0.7196 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.621, allocations: 19.92 kB / 0.7196 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.621, allocations: 4 kB / 0.7197 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.6242, allocations: 2.546 MB / 0.7221 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.625, allocations: 317.4 kB / 0.7224 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.6253, allocations: 20 kB / 0.7225 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/0.6262, allocations: 67.92 kB / 0.7225 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.6264, allocations: 92.11 kB / 0.7226 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6265, allocations: 47.98 kB / 0.7227 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003793/0.6303, allocations: 2.334 MB / 0.7249 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6303, allocations: 0 / 0.7249 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004814/0.6351, allocations: 1.083 MB / 0.726 GB, free: 4.07 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.004005/0.6391, allocations: 3.168 MB / 0.7291 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2457/0.8848, allocations: 4.247 MB / 0.7332 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.8848, allocations: 3.812 kB / 0.7332 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8861, allocations: 0.8674 MB / 0.7341 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.8883, allocations: 356.1 kB / 0.7344 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04337/0.9316, allocations: 41.8 MB / 0.7752 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.9346, allocations: 2.619 MB / 0.7778 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003892/0.9385, allocations: 2.227 MB / 0.78 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/0.9402, allocations: 1.659 MB / 0.7816 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/0.9402, allocations: 0 / 0.7816 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/1.024, allocations: 49.98 MB / 0.8304 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.1, allocations: 11.53 kB / 0.8304 GB, free: 60.81 MB / 0.5606 GB " [Timeout remaining time 644] (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.213458471931517]