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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 97.91 kB / 20.48 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 214 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2468/0.2468, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 73.62 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1139, allocations: 61.05 MB / 0.5169 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01387/0.1278, allocations: 10.78 MB / 0.5274 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1381, allocations: 3.872 MB / 0.5312 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.1407, allocations: 91.69 kB / 0.5313 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.1451, allocations: 1.646 MB / 0.5329 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.1499, allocations: 1.654 MB / 0.5345 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.1528, allocations: 1.146 MB / 0.5356 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.159, allocations: 3.623 MB / 0.5392 GB, free: 288 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2425/0.4015, allocations: 2.061 MB / 0.5412 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.4045, allocations: 1.238 MB / 0.5424 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/0.4087, allocations: 1.84 MB / 0.5442 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.4101, allocations: 254.6 kB / 0.5444 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.4128, allocations: 0.6308 MB / 0.5451 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003854/0.4166, allocations: 1.694 MB / 0.5467 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004731/0.4214, allocations: 1.398 MB / 0.5481 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.4354, allocations: 6.57 MB / 0.5545 GB, free: 8.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4354, allocations: 1.906 kB / 0.5545 GB, free: 8.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4354, allocations: 0 / 0.5545 GB, free: 8.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004012/0.4358, allocations: 0 / 0.5545 GB, free: 8.133 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.01802/0.4538, allocations: 4.236 MB / 0.5586 GB, free: 6.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.4539, allocations: 10.41 kB / 0.5586 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002503/0.4541, allocations: 97.69 kB / 0.5587 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00339/0.4575, allocations: 0.7497 MB / 0.5595 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.4693, allocations: 3.042 MB / 0.5624 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.4751, allocations: 1.837 MB / 0.5642 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.4753, allocations: 200.6 kB / 0.5644 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.4775, allocations: 269.2 kB / 0.5647 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/0.5027, allocations: 10.52 MB / 0.575 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.5029, allocations: 28.38 kB / 0.575 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.504, allocations: 132 kB / 0.5751 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004359/0.5084, allocations: 2.443 MB / 0.5775 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.5286, allocations: 9.369 MB / 0.5866 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0649/0.5935, allocations: 37.15 MB / 0.6229 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006753/0.6002, allocations: 2.442 MB / 0.6253 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.6027, allocations: 1.166 MB / 0.6264 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.6153, allocations: 4.766 MB / 0.6311 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.6153, allocations: 50.12 kB / 0.6311 GB, free: 10.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.24e-06/0.6153, allocations: 0 / 0.6311 GB, free: 10.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.008855/0.6242, allocations: 3.376 MB / 0.6344 GB, free: 7.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6243, allocations: 173.5 kB / 0.6346 GB, free: 6.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007442/0.6318, allocations: 3.971 MB / 0.6385 GB, free: 3.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.632, allocations: 41.7 kB / 0.6385 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003607/0.6356, allocations: 3.464 MB / 0.6419 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/0.637, allocations: 0.6446 MB / 0.6425 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003175/0.6402, allocations: 1.364 MB / 0.6439 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6403, allocations: 308.9 kB / 0.6442 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004187/0.6445, allocations: 1.996 MB / 0.6461 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0092/0.6537, allocations: 6.309 MB / 0.6523 GB, free: 2.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/0.6667, allocations: 9.061 MB / 0.6611 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002403/0.6669, allocations: 44 kB / 0.6612 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01904/0.686, allocations: 7.95 MB / 0.6689 GB, free: 132 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.6861, allocations: 76.06 kB / 0.669 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003206/0.6864, allocations: 152 kB / 0.6691 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.6867, allocations: 203.9 kB / 0.6693 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/0.6929, allocations: 1.501 MB / 0.6708 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003719/0.6932, allocations: 306.8 kB / 0.6711 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/0.7008, allocations: 0.9655 MB / 0.672 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/0.7028, allocations: 417.3 kB / 0.6724 GB, free: 12.52 MB / 0.5137 GB 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.006501/0.7093, allocations: 2.283 MB / 0.6747 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008563/0.7101, allocations: 337.7 kB / 0.675 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.7116, allocations: 412.2 kB / 0.6754 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-05/0.7117, allocations: 40.03 kB / 0.6754 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.7117, allocations: 7.984 kB / 0.6754 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.7117, allocations: 7.922 kB / 0.6754 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7261, allocations: 5.498 MB / 0.6808 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.7261, allocations: 8 kB / 0.6808 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.7273, allocations: 212.4 kB / 0.681 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/0.7273, allocations: 12 kB / 0.681 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.7274, allocations: 34.27 kB / 0.6811 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.7275, allocations: 11.94 kB / 0.6811 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.7275, allocations: 11.94 kB / 0.6811 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.7315, allocations: 2.595 MB / 0.6836 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.7328, allocations: 321.3 kB / 0.6839 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009541/0.7337, allocations: 30.42 kB / 0.684 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7353, allocations: 68.78 kB / 0.684 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.7355, allocations: 96.12 kB / 0.6841 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.7357, allocations: 50.41 kB / 0.6842 GB, free: 332 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005517/0.7412, allocations: 2.407 MB / 0.6865 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7412, allocations: 0 / 0.6865 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006987/0.7482, allocations: 1.144 MB / 0.6876 GB, free: 12.79 MB / 0.5294 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.00491/0.7531, allocations: 3.235 MB / 0.6908 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009558/0.7626, allocations: 4.363 MB / 0.695 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.7627, allocations: 0 / 0.695 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.7644, allocations: 0.8964 MB / 0.6959 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.7677, allocations: 356.6 kB / 0.6963 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09613/0.8638, allocations: 43.34 MB / 0.7386 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006513/0.8703, allocations: 2.738 MB / 0.7413 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006402/0.8767, allocations: 2.283 MB / 0.7435 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004744/0.8815, allocations: 1.749 MB / 0.7452 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 1.804e-06/0.8815, allocations: 0 / 0.7452 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/1.25, allocations: 54.57 MB / 0.7985 GB, free: 211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.89/24.14, allocations: 11.94 kB / 0.7985 GB, free: 211 MB / 0.6075 GB " [Timeout remaining time 636] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.721900557051413]