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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 79.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3364, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01325/0.3497, allocations: 11.92 MB / 0.5421 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.3586, allocations: 4.073 MB / 0.5461 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.361, allocations: 80.16 kB / 0.5462 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.3652, allocations: 1.663 MB / 0.5478 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.3695, allocations: 1.551 MB / 0.5493 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.3722, allocations: 1.184 MB / 0.5505 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.3775, allocations: 3.503 MB / 0.5539 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.3811, allocations: 2.456 MB / 0.5563 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.3831, allocations: 1.156 MB / 0.5574 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.3855, allocations: 1.561 MB / 0.559 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008525/0.3864, allocations: 236 kB / 0.5592 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.3882, allocations: 0.7177 MB / 0.5599 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3901, allocations: 1.547 MB / 0.5614 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.3928, allocations: 1.867 MB / 0.5632 GB, free: 148 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007661/0.4005, allocations: 6.154 MB / 0.5692 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4005, allocations: 0 / 0.5692 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4005, allocations: 0 / 0.5692 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002523/0.4008, allocations: 0 / 0.5692 GB, free: 9.965 MB / 430.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.009465/0.4103, allocations: 4.094 MB / 0.5732 GB, free: 5.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.4103, allocations: 12.03 kB / 0.5732 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002205/0.4126, allocations: 0.7086 MB / 0.5739 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4229, allocations: 2.993 MB / 0.5769 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/0.4275, allocations: 1.82 MB / 0.5786 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.4278, allocations: 196.9 kB / 0.5788 GB, free: 0 / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.4293, allocations: 239.9 kB / 0.5791 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.4477, allocations: 10.04 MB / 0.5889 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.662e-05/0.4479, allocations: 27.75 kB / 0.5889 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006686/0.4486, allocations: 127.8 kB / 0.589 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.4523, allocations: 2.314 MB / 0.5913 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.468, allocations: 8.934 MB / 0.6 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04885/0.5169, allocations: 37.6 MB / 0.6367 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/0.5227, allocations: 3.372 MB / 0.64 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.5246, allocations: 1.238 MB / 0.6412 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009503/0.5341, allocations: 5.192 MB / 0.6463 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5342, allocations: 55 kB / 0.6463 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.242e-06/0.5343, allocations: 0 / 0.6463 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.00752/0.5418, allocations: 3.338 MB / 0.6496 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5419, allocations: 166.8 kB / 0.6498 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/0.5484, allocations: 3.837 MB / 0.6535 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.5486, allocations: 45.69 kB / 0.6536 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/0.5514, allocations: 3.321 MB / 0.6568 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008954/0.5523, allocations: 0.6321 MB / 0.6574 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/0.5548, allocations: 1.314 MB / 0.6587 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5549, allocations: 301.1 kB / 0.659 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.5582, allocations: 1.953 MB / 0.6609 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006814/0.565, allocations: 6.112 MB / 0.6669 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.5757, allocations: 8.786 MB / 0.6754 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/0.5759, allocations: 44 kB / 0.6755 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01457/0.5904, allocations: 7.722 MB / 0.683 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.5906, allocations: 72.06 kB / 0.6831 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/0.5908, allocations: 152 kB / 0.6832 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.591, allocations: 192 kB / 0.6834 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.5954, allocations: 1.462 MB / 0.6848 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002355/0.5957, allocations: 286.9 kB / 0.6851 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.6003, allocations: 0.9305 MB / 0.686 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009209/0.6012, allocations: 404 kB / 0.6864 GB, free: 11.33 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.003635/0.6049, allocations: 2.202 MB / 0.6886 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/0.6054, allocations: 325.7 kB / 0.6889 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008088/0.6063, allocations: 407.1 kB / 0.6893 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/0.6063, allocations: 43.92 kB / 0.6893 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.6064, allocations: 4.297 kB / 0.6893 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6064, allocations: 3.984 kB / 0.6893 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6171, allocations: 5.463 MB / 0.6946 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/0.6172, allocations: 12.66 kB / 0.6947 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6182, allocations: 207.7 kB / 0.6949 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.6183, allocations: 15.94 kB / 0.6949 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6184, allocations: 27.98 kB / 0.6949 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-05/0.6184, allocations: 15.94 kB / 0.6949 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.6184, allocations: 4 kB / 0.6949 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.6218, allocations: 2.558 MB / 0.6974 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.6226, allocations: 390.5 kB / 0.6978 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.6231, allocations: 24 kB / 0.6978 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.6242, allocations: 63.91 kB / 0.6979 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.6244, allocations: 80.36 kB / 0.6979 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6245, allocations: 47.89 kB / 0.698 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003813/0.6283, allocations: 2.334 MB / 0.7003 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.22e-07/0.6284, allocations: 3.938 kB / 0.7003 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005062/0.6334, allocations: 1.072 MB / 0.7013 GB, free: 11.81 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.003817/0.6373, allocations: 3.182 MB / 0.7044 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007109/0.6444, allocations: 4.448 MB / 0.7088 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.6445, allocations: 4.062 kB / 0.7088 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.6458, allocations: 0.9517 MB / 0.7097 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6481, allocations: 346.4 kB / 0.71 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3204/0.9685, allocations: 41.8 MB / 0.7509 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/0.9721, allocations: 3.171 MB / 0.754 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004319/0.9764, allocations: 2.22 MB / 0.7561 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/0.9786, allocations: 1.659 MB / 0.7577 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.9786, allocations: 0 / 0.7577 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07414/1.053, allocations: 50.9 MB / 0.8074 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/19.37, allocations: 11.55 kB / 0.8075 GB, free: 101.1 MB / 0.5762 GB (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.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches