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.001128/0.001128, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, 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.2138/0.2138, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3027, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01378/0.3166, allocations: 11.93 MB / 0.5421 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00866/0.3253, allocations: 4.072 MB / 0.5461 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.3278, allocations: 80.22 kB / 0.5462 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.3315, allocations: 1.663 MB / 0.5478 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.3359, allocations: 1.522 MB / 0.5493 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.3384, allocations: 1.177 MB / 0.5505 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00489/0.3433, allocations: 3.509 MB / 0.5539 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/0.3466, allocations: 2.454 MB / 0.5563 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.3485, allocations: 1.152 MB / 0.5574 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.3508, allocations: 1.565 MB / 0.5589 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006803/0.3515, allocations: 240 kB / 0.5592 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.353, allocations: 0.7138 MB / 0.5599 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.3546, allocations: 1.547 MB / 0.5614 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.3571, allocations: 1.859 MB / 0.5632 GB, free: 192 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007866/0.365, allocations: 6.122 MB / 0.5692 GB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.365, allocations: 0 / 0.5692 GB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.365, allocations: 8 kB / 0.5692 GB, free: 10.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002013/0.3652, allocations: 0 / 0.5692 GB, free: 10.04 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.007477/0.3727, allocations: 3.981 MB / 0.5731 GB, free: 5.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3728, allocations: 8.031 kB / 0.5731 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008432/0.3736, allocations: 0.7164 MB / 0.5738 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00932/0.383, allocations: 2.971 MB / 0.5767 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.3864, allocations: 1.815 MB / 0.5784 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.3865, allocations: 192.9 kB / 0.5786 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005178/0.3871, allocations: 247.9 kB / 0.5789 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.4012, allocations: 10.05 MB / 0.5887 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/0.4013, allocations: 27.75 kB / 0.5887 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.4017, allocations: 123.8 kB / 0.5888 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4052, allocations: 2.314 MB / 0.5911 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.42, allocations: 8.923 MB / 0.5998 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04177/0.4618, allocations: 37.53 MB / 0.6364 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/0.4673, allocations: 3.368 MB / 0.6397 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.469, allocations: 1.242 MB / 0.6409 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007976/0.477, allocations: 5.167 MB / 0.646 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.477, allocations: 51 kB / 0.646 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.168e-06/0.477, allocations: 4 kB / 0.646 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.006882/0.4839, allocations: 3.324 MB / 0.6493 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.484, allocations: 170.8 kB / 0.6494 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/0.489, allocations: 3.828 MB / 0.6532 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.4892, allocations: 41.7 kB / 0.6532 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.4913, allocations: 3.177 MB / 0.6563 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/0.4918, allocations: 0.602 MB / 0.6569 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.4933, allocations: 1.305 MB / 0.6582 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4934, allocations: 305.1 kB / 0.6585 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.4961, allocations: 1.949 MB / 0.6604 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/0.5014, allocations: 6.115 MB / 0.6664 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/0.5103, allocations: 8.79 MB / 0.6749 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-05/0.5104, allocations: 40 kB / 0.675 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01117/0.5216, allocations: 7.707 MB / 0.6825 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/0.5217, allocations: 75.98 kB / 0.6826 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/0.5218, allocations: 144 kB / 0.6827 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.522, allocations: 196.5 kB / 0.6829 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/0.5259, allocations: 1.455 MB / 0.6843 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002165/0.5261, allocations: 294.9 kB / 0.6846 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.53, allocations: 0.9083 MB / 0.6855 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/0.5305, allocations: 400 kB / 0.6859 GB, free: 11.85 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.002759/0.5333, allocations: 2.202 MB / 0.688 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.5337, allocations: 307.8 kB / 0.6883 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.5344, allocations: 411.1 kB / 0.6887 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/0.5344, allocations: 43.92 kB / 0.6888 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5344, allocations: 4 kB / 0.6888 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.5345, allocations: 7.969 kB / 0.6888 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.5423, allocations: 5.455 MB / 0.6941 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.5424, allocations: 8 kB / 0.6941 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.5433, allocations: 203.7 kB / 0.6943 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.5433, allocations: 15.94 kB / 0.6943 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.5434, allocations: 27.98 kB / 0.6943 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.5434, allocations: 11.94 kB / 0.6943 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.5434, allocations: 8 kB / 0.6944 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.5462, allocations: 2.543 MB / 0.6968 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.5468, allocations: 372.9 kB / 0.6972 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.5471, allocations: 27.94 kB / 0.6972 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/0.548, allocations: 71.91 kB / 0.6973 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5482, allocations: 72.36 kB / 0.6974 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.5483, allocations: 51.97 kB / 0.6974 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003078/0.5514, allocations: 2.334 MB / 0.6997 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5514, allocations: 3.938 kB / 0.6997 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004344/0.5557, allocations: 1.063 MB / 0.7007 GB, free: 12.38 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.003403/0.5592, allocations: 3.155 MB / 0.7038 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006453/0.5656, allocations: 4.451 MB / 0.7082 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.5657, allocations: 0 / 0.7082 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5668, allocations: 0.9512 MB / 0.7091 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.5687, allocations: 353.8 kB / 0.7094 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2766/0.8453, allocations: 41.63 MB / 0.7501 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.8481, allocations: 3.169 MB / 0.7532 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003858/0.852, allocations: 2.223 MB / 0.7553 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.8537, allocations: 1.663 MB / 0.757 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.8537, allocations: 0 / 0.757 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07089/0.9246, allocations: 51.59 MB / 0.8074 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/19.95, allocations: 7.969 kB / 0.8074 GB, free: 107.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/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