Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001812/0.001812, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002202/0.002202, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.92 MB / 357.1 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.89 kB / 0.4909 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1299, allocations: 65.99 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01495/0.1449, allocations: 11.97 MB / 0.5671 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009015/0.1539, allocations: 4.093 MB / 0.5711 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1559, allocations: 87.69 kB / 0.5711 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.1595, allocations: 1.685 MB / 0.5728 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.1634, allocations: 1.549 MB / 0.5743 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.1658, allocations: 1.188 MB / 0.5755 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004883/0.1707, allocations: 3.502 MB / 0.5789 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.1737, allocations: 2.071 MB / 0.5809 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.1757, allocations: 1.176 MB / 0.5821 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.1782, allocations: 1.729 MB / 0.5837 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006854/0.1789, allocations: 236 kB / 0.584 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.1806, allocations: 0.7333 MB / 0.5847 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.1824, allocations: 1.593 MB / 0.5862 GB, free: 6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.1846, allocations: 1.859 MB / 0.5881 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2737/0.4583, allocations: 6.145 MB / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4583, allocations: 1 kB / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4583, allocations: 0.75 kB / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.4585, allocations: 0 / 0.5941 GB, free: 11.98 MB / 446.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.008038/0.4665, allocations: 4.093 MB / 0.5981 GB, free: 10.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4666, allocations: 9.719 kB / 0.5981 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001115/0.4677, allocations: 0.7167 MB / 0.5988 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4785, allocations: 2.994 MB / 0.6017 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.4832, allocations: 1.817 MB / 0.6035 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.4834, allocations: 194.5 kB / 0.6036 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009245/0.4843, allocations: 251 kB / 0.6039 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.5014, allocations: 10.04 MB / 0.6137 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.5015, allocations: 33.56 kB / 0.6137 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000456/0.502, allocations: 121.9 kB / 0.6138 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003823/0.5058, allocations: 2.317 MB / 0.6161 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.5206, allocations: 8.922 MB / 0.6248 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0498/0.5704, allocations: 37.6 MB / 0.6615 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006104/0.5765, allocations: 3.247 MB / 0.6647 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.5783, allocations: 1.139 MB / 0.6658 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009124/0.5874, allocations: 5.179 MB / 0.6709 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.5874, allocations: 58.55 kB / 0.6709 GB, free: 5.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 3.667e-06/0.5875, allocations: 0 / 0.6709 GB, free: 5.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007503/0.595, allocations: 3.335 MB / 0.6742 GB, free: 2.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.5951, allocations: 174.8 kB / 0.6744 GB, free: 2.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006852/0.6019, allocations: 3.831 MB / 0.6781 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.602, allocations: 41.7 kB / 0.6781 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002802/0.6048, allocations: 3.325 MB / 0.6814 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007163/0.6056, allocations: 0.6291 MB / 0.682 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/0.6078, allocations: 1.311 MB / 0.6833 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6079, allocations: 309 kB / 0.6836 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.611, allocations: 1.957 MB / 0.6855 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00665/0.6176, allocations: 6.109 MB / 0.6915 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.6284, allocations: 8.789 MB / 0.7 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/0.6286, allocations: 44 kB / 0.7001 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01475/0.6433, allocations: 7.721 MB / 0.7076 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.6435, allocations: 74.12 kB / 0.7077 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/0.6437, allocations: 148 kB / 0.7078 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.644, allocations: 192.7 kB / 0.708 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.6486, allocations: 1.455 MB / 0.7094 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00029/0.6489, allocations: 294.9 kB / 0.7097 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/0.6534, allocations: 0.9337 MB / 0.7106 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008827/0.6543, allocations: 402.5 kB / 0.711 GB, free: 9.586 MB / 0.5294 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.003902/0.6582, allocations: 2.195 MB / 0.7132 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006557/0.6588, allocations: 325.7 kB / 0.7135 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.6599, allocations: 411.1 kB / 0.7139 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.088e-05/0.66, allocations: 35.98 kB / 0.7139 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.66, allocations: 3.938 kB / 0.7139 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.66, allocations: 3.984 kB / 0.7139 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.6716, allocations: 5.472 MB / 0.7192 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.6716, allocations: 12 kB / 0.7193 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6727, allocations: 203.7 kB / 0.7195 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-05/0.6727, allocations: 12 kB / 0.7195 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.6729, allocations: 27.94 kB / 0.7195 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.005e-05/0.6729, allocations: 16.84 kB / 0.7195 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.6729, allocations: 8.438 kB / 0.7195 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.6767, allocations: 2.551 MB / 0.722 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008848/0.6776, allocations: 382.6 kB / 0.7224 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006188/0.6782, allocations: 35.94 kB / 0.7224 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.6795, allocations: 66.56 kB / 0.7225 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.6797, allocations: 74 kB / 0.7225 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.6799, allocations: 48.64 kB / 0.7226 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005006/0.6849, allocations: 2.334 MB / 0.7249 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6849, allocations: 0 / 0.7249 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005907/0.6908, allocations: 1.074 MB / 0.7259 GB, free: 10.13 MB / 0.545 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.004465/0.6953, allocations: 3.182 MB / 0.729 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007486/0.7027, allocations: 4.264 MB / 0.7332 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.7027, allocations: 0 / 0.7332 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.7041, allocations: 0.8753 MB / 0.734 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.7069, allocations: 362.8 kB / 0.7344 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07032/0.7772, allocations: 41.8 MB / 0.7752 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005588/0.7828, allocations: 3.157 MB / 0.7783 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005736/0.7885, allocations: 2.225 MB / 0.7805 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003137/0.7917, allocations: 1.671 MB / 0.7821 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/0.7917, allocations: 0 / 0.7821 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/0.915, allocations: 51.27 MB / 0.8322 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/19.62, allocations: 14.25 kB / 0.8322 GB, free: 7.047 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 23.09181291004643]