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.001436/0.001436, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001403/0.001403, allocations: 191.4 kB / 17.34 MB, free: 5.738 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2193/0.2193, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.002498/0.002498, allocations: 73.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1276, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01586/0.1435, allocations: 12.44 MB / 0.4995 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.1527, allocations: 4.047 MB / 0.5035 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1545, allocations: 75.88 kB / 0.5036 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.1581, allocations: 1.685 MB / 0.5052 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.1622, allocations: 1.592 MB / 0.5068 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.1648, allocations: 1.188 MB / 0.5079 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.171, allocations: 3.631 MB / 0.5115 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.175, allocations: 2.516 MB / 0.5139 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.1775, allocations: 1.222 MB / 0.5151 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.1811, allocations: 1.658 MB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.1822, allocations: 256 kB / 0.517 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1842, allocations: 0.7138 MB / 0.5177 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002099/0.1864, allocations: 1.644 MB / 0.5193 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.1894, allocations: 1.987 MB / 0.5212 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009279/0.1987, allocations: 6.535 MB / 0.5276 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1987, allocations: 4 kB / 0.5276 GB, free: 2.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.291e-06/0.1987, allocations: 3.984 kB / 0.5276 GB, free: 2.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000225/0.199, allocations: 0 / 0.5276 GB, free: 2.891 MB / 414.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.2102/0.4092, allocations: 4.303 MB / 0.5318 GB, free: 37.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4092, allocations: 13.86 kB / 0.5318 GB, free: 37.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009916/0.4102, allocations: 0.7486 MB / 0.5326 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.421, allocations: 3.042 MB / 0.5355 GB, free: 37.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.4245, allocations: 1.879 MB / 0.5374 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.4247, allocations: 202.1 kB / 0.5376 GB, free: 36.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007801/0.4255, allocations: 262.8 kB / 0.5378 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.4414, allocations: 10.52 MB / 0.5481 GB, free: 31.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.094e-05/0.4415, allocations: 32.06 kB / 0.5481 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005118/0.4421, allocations: 136.1 kB / 0.5482 GB, free: 31.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003634/0.4457, allocations: 2.442 MB / 0.5506 GB, free: 31.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.4595, allocations: 9.366 MB / 0.5598 GB, free: 24.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.4995, allocations: 38.83 MB / 0.5977 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006332/0.5059, allocations: 3.49 MB / 0.6011 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.508, allocations: 1.272 MB / 0.6023 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009684/0.5177, allocations: 5.474 MB / 0.6077 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.5178, allocations: 43.12 kB / 0.6077 GB, free: 6.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 4.559e-06/0.5178, allocations: 0 / 0.6077 GB, free: 6.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007353/0.5252, allocations: 3.378 MB / 0.611 GB, free: 2.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.5253, allocations: 170.8 kB / 0.6112 GB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006146/0.5315, allocations: 3.957 MB / 0.6151 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5316, allocations: 41.7 kB / 0.6151 GB, free: 14.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/0.5346, allocations: 3.469 MB / 0.6185 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008301/0.5354, allocations: 0.6631 MB / 0.6191 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/0.5373, allocations: 1.353 MB / 0.6205 GB, free: 9.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5375, allocations: 305.1 kB / 0.6207 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/0.5405, allocations: 2 MB / 0.6227 GB, free: 6.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006966/0.5475, allocations: 6.307 MB / 0.6289 GB, free: 14.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.5594, allocations: 9.061 MB / 0.6377 GB, free: 3.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/0.5596, allocations: 44 kB / 0.6377 GB, free: 3.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01606/0.5757, allocations: 7.951 MB / 0.6455 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.5759, allocations: 68.09 kB / 0.6456 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/0.5761, allocations: 159.9 kB / 0.6457 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.5763, allocations: 200 kB / 0.6459 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005021/0.5813, allocations: 1.511 MB / 0.6474 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003038/0.5817, allocations: 302.7 kB / 0.6477 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/0.5866, allocations: 0.9619 MB / 0.6486 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009383/0.5876, allocations: 420 kB / 0.649 GB, free: 7.555 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.003819/0.5914, allocations: 2.284 MB / 0.6513 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/0.5921, allocations: 333.7 kB / 0.6516 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/0.5931, allocations: 420.2 kB / 0.652 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/0.5932, allocations: 43.97 kB / 0.652 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.5932, allocations: 3.938 kB / 0.652 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5932, allocations: 3.984 kB / 0.652 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.6036, allocations: 5.712 MB / 0.6576 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.6037, allocations: 4 kB / 0.6576 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009848/0.6047, allocations: 211.7 kB / 0.6578 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/0.6047, allocations: 12 kB / 0.6578 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.6048, allocations: 28 kB / 0.6578 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-05/0.6049, allocations: 19.92 kB / 0.6579 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.6049, allocations: 8 kB / 0.6579 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.6083, allocations: 2.6 MB / 0.6604 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.6091, allocations: 402.4 kB / 0.6608 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/0.6096, allocations: 31.89 kB / 0.6608 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.6109, allocations: 68.23 kB / 0.6609 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.6111, allocations: 88.22 kB / 0.661 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6112, allocations: 44 kB / 0.661 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004031/0.6153, allocations: 2.411 MB / 0.6634 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6153, allocations: 0 / 0.6634 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005251/0.6205, allocations: 1.142 MB / 0.6645 GB, free: 7.469 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.004522/0.6251, allocations: 3.239 MB / 0.6676 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008021/0.6331, allocations: 4.549 MB / 0.6721 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.6332, allocations: 4 kB / 0.6721 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.6347, allocations: 0.9668 MB / 0.673 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.6374, allocations: 361.6 kB / 0.6734 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07688/0.7143, allocations: 43.34 MB / 0.7157 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006785/0.7212, allocations: 3.278 MB / 0.7189 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006435/0.7277, allocations: 2.283 MB / 0.7211 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003762/0.7315, allocations: 1.749 MB / 0.7228 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.7315, allocations: 0 / 0.7228 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/1.037, allocations: 52.56 MB / 0.7742 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.32/20.36, allocations: 10.3 kB / 0.7742 GB, free: 209.8 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches