Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 103.9 kB / 15.98 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 192.2 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3953/0.3953, allocations: 43.49 MB / 313.6 MB, free: 8.566 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 57.79 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1883/0.291, allocations: 26.31 MB / 466.4 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.3029, allocations: 6.28 MB / 472.7 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004758/0.3077, allocations: 116.9 kB / 472.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.3106, allocations: 1.606 MB / 474.4 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.3137, allocations: 1.503 MB / 475.9 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.3155, allocations: 1.143 MB / 477.1 MB, free: 30.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.319, allocations: 3.68 MB / 480.7 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.3213, allocations: 2.681 MB / 483.4 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.3226, allocations: 1.233 MB / 484.7 MB, free: 27.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.324, allocations: 1.862 MB / 486.5 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.3244, allocations: 253.8 kB / 486.8 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3254, allocations: 0.7207 MB / 487.5 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3267, allocations: 1.673 MB / 489.2 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.3281, allocations: 2.007 MB / 491.2 MB, free: 24.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007209/0.3354, allocations: 6.253 MB / 497.4 MB, free: 22.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3354, allocations: 4 kB / 497.4 MB, free: 22.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3354, allocations: 1 kB / 497.4 MB, free: 22.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.3356, allocations: 0 / 497.4 MB, free: 22.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01052/0.3462, allocations: 4.188 MB / 0.4899 GB, free: 20.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.3462, allocations: 13.48 kB / 0.4899 GB, free: 20.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00141/0.3476, allocations: 0.7458 MB / 0.4906 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.3581, allocations: 3.019 MB / 0.4935 GB, free: 19.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.3621, allocations: 1.867 MB / 0.4954 GB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.3623, allocations: 201.3 kB / 0.4956 GB, free: 18.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.3629, allocations: 260.7 kB / 0.4958 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.3802, allocations: 10.53 MB / 0.5061 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/0.3803, allocations: 31.06 kB / 0.5061 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.3808, allocations: 131.5 kB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/0.3842, allocations: 2.439 MB / 0.5086 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.3987, allocations: 9.369 MB / 0.5178 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05806/0.4568, allocations: 38.92 MB / 0.5558 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.4633, allocations: 3.498 MB / 0.5592 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.4653, allocations: 1.272 MB / 0.5604 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00975/0.4751, allocations: 5.46 MB / 0.5658 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.4751, allocations: 51.06 kB / 0.5658 GB, free: 14.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 3.858e-06/0.4751, allocations: 0 / 0.5658 GB, free: 14.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007333/0.4825, allocations: 3.354 MB / 0.5691 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.4826, allocations: 166.7 kB / 0.5693 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006305/0.4889, allocations: 3.959 MB / 0.5731 GB, free: 6.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.4891, allocations: 45.69 kB / 0.5732 GB, free: 6.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.4918, allocations: 3.32 MB / 0.5764 GB, free: 3.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.4925, allocations: 0.6136 MB / 0.577 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.4943, allocations: 1.348 MB / 0.5783 GB, free: 1.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4944, allocations: 305.1 kB / 0.5786 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.4973, allocations: 2 MB / 0.5806 GB, free: 14.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005967/0.5032, allocations: 6.307 MB / 0.5867 GB, free: 6.477 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.5149, allocations: 9.064 MB / 0.5956 GB, free: 11.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/0.5151, allocations: 44 kB / 0.5956 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01404/0.5292, allocations: 7.933 MB / 0.6034 GB, free: 3.281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.5293, allocations: 68 kB / 0.6034 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.5294, allocations: 152.3 kB / 0.6036 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.5296, allocations: 200.7 kB / 0.6038 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/0.5339, allocations: 1.513 MB / 0.6053 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002287/0.5341, allocations: 306.8 kB / 0.6055 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/0.5392, allocations: 0.9431 MB / 0.6065 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006186/0.5398, allocations: 420 kB / 0.6069 GB, free: 15.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004533/0.5444, allocations: 2.276 MB / 0.6091 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/0.545, allocations: 315.8 kB / 0.6094 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.5458, allocations: 424.2 kB / 0.6098 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.541e-05/0.5459, allocations: 35.98 kB / 0.6098 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.5459, allocations: 4 kB / 0.6098 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.5459, allocations: 7.922 kB / 0.6098 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.5561, allocations: 5.7 MB / 0.6154 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.5561, allocations: 7.938 kB / 0.6154 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.5571, allocations: 216.4 kB / 0.6156 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/0.5571, allocations: 12 kB / 0.6156 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.5572, allocations: 28 kB / 0.6157 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.5572, allocations: 15.94 kB / 0.6157 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5573, allocations: 15.88 kB / 0.6157 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.5605, allocations: 2.585 MB / 0.6182 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008838/0.5614, allocations: 384.5 kB / 0.6186 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.5618, allocations: 31.97 kB / 0.6186 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5628, allocations: 63.92 kB / 0.6187 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.563, allocations: 88.47 kB / 0.6188 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5631, allocations: 44 kB / 0.6188 GB, free: 3.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004385/0.5675, allocations: 2.415 MB / 0.6212 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5675, allocations: 0 / 0.6212 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006473/0.574, allocations: 1.133 MB / 0.6223 GB, free: 15.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.004258/0.5783, allocations: 3.222 MB / 0.6254 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00965/0.588, allocations: 5.208 MB / 0.6305 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.588, allocations: 384 / 0.6305 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5893, allocations: 0.9672 MB / 0.6314 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.592, allocations: 361.6 kB / 0.6318 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2652/0.8572, allocations: 49.27 MB / 0.6799 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/0.8634, allocations: 3.28 MB / 0.6831 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005957/0.8694, allocations: 2.279 MB / 0.6853 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/0.8721, allocations: 1.749 MB / 0.687 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.8721, allocations: 0 / 0.687 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07634/0.9485, allocations: 56.52 MB / 0.7422 GB, free: 81.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.9487, allocations: 206.7 kB / 0.7424 GB, free: 81.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/4.891, allocations: 0 / 0.7424 GB, free: 81.26 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches