Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001274/0.001274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3368/0.3368, allocations: 39.99 MB / 310.4 MB, free: 9.652 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005648, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 57.96 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.3023/0.4409, allocations: 23.69 MB / 460.5 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.4547, allocations: 5.96 MB / 466.4 MB, free: 33.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006238/0.461, allocations: 115.8 kB / 466.6 MB, free: 33.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.465, allocations: 1.113 MB / 467.7 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009774/0.4748, allocations: 3.365 MB / 471 MB, free: 32.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4762, allocations: 224.2 kB / 471.3 MB, free: 32.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005343/0.4816, allocations: 3.965 MB / 475.2 MB, free: 31.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003939/0.4855, allocations: 2.845 MB / 478.1 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.4874, allocations: 1.041 MB / 479.1 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.4893, allocations: 1.608 MB / 480.7 MB, free: 31.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.4898, allocations: 129.6 kB / 480.8 MB, free: 31.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.491, allocations: 0.5289 MB / 481.4 MB, free: 31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.4923, allocations: 1.488 MB / 482.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.4931, allocations: 0.7894 MB / 483.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.5002, allocations: 4.964 MB / 488.6 MB, free: 29.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5003, allocations: 0 / 488.6 MB, free: 29.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5003, allocations: 0 / 488.6 MB, free: 29.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002868/0.5006, allocations: 0 / 488.6 MB, free: 29.59 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.007446/0.508, allocations: 3.462 MB / 492.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5081, allocations: 9.281 kB / 492.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.5201, allocations: 3.1 MB / 495.2 MB, free: 27.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005813/0.5259, allocations: 1.827 MB / 497 MB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.5262, allocations: 202.8 kB / 497.2 MB, free: 26.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.5273, allocations: 261.2 kB / 497.5 MB, free: 26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.5454, allocations: 10.51 MB / 0.4961 GB, free: 19.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.978e-05/0.5455, allocations: 35.98 kB / 0.4961 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.546, allocations: 129.2 kB / 0.4962 GB, free: 19.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00408/0.55, allocations: 2.434 MB / 0.4986 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.5676, allocations: 9.325 MB / 0.5077 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05105/0.6187, allocations: 38.93 MB / 0.5457 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.6244, allocations: 3.485 MB / 0.5491 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.6262, allocations: 1.266 MB / 0.5504 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009017/0.6352, allocations: 5.453 MB / 0.5557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.6353, allocations: 51.12 kB / 0.5557 GB, free: 11.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 4.869e-06/0.6353, allocations: 0 / 0.5557 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007053/0.6424, allocations: 3.359 MB / 0.559 GB, free: 7.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6425, allocations: 162.8 kB / 0.5592 GB, free: 7.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/0.6487, allocations: 3.932 MB / 0.563 GB, free: 3.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.649, allocations: 41.7 kB / 0.5631 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.6514, allocations: 3.319 MB / 0.5663 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.6526, allocations: 0.6289 MB / 0.5669 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.653, allocations: 131.9 kB / 0.567 GB, free: 15.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005681/0.6536, allocations: 0.595 MB / 0.5676 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.6574, allocations: 1.973 MB / 0.5695 GB, free: 13.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006999/0.6644, allocations: 6.276 MB / 0.5757 GB, free: 4.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/0.6699, allocations: 3.522 MB / 0.5791 GB, free: 1.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.558e-05/0.6699, allocations: 44 kB / 0.5792 GB, free: 1.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01381/0.6838, allocations: 7.875 MB / 0.5868 GB, free: 9.301 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.6839, allocations: 72.25 kB / 0.5869 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.6841, allocations: 156 kB / 0.5871 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.6843, allocations: 224 kB / 0.5873 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/0.6887, allocations: 1.513 MB / 0.5888 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002345/0.6889, allocations: 298.8 kB / 0.589 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/0.6933, allocations: 0.946 MB / 0.59 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/0.6939, allocations: 412 kB / 0.5904 GB, free: 5.695 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003905/0.6978, allocations: 2.287 MB / 0.5926 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.6984, allocations: 315.8 kB / 0.5929 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.6992, allocations: 420.2 kB / 0.5933 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/0.6993, allocations: 39.95 kB / 0.5933 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.6993, allocations: 0 / 0.5933 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.6993, allocations: 11.97 kB / 0.5933 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008835/0.7081, allocations: 5.695 MB / 0.5989 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.7082, allocations: 4 kB / 0.5989 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.7091, allocations: 211.7 kB / 0.5991 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/0.7091, allocations: 12 kB / 0.5991 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.7092, allocations: 24 kB / 0.5991 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.7092, allocations: 23.86 kB / 0.5992 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.7093, allocations: 15.89 kB / 0.5992 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.7123, allocations: 2.572 MB / 0.6017 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/0.7131, allocations: 392.5 kB / 0.6021 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.7134, allocations: 34.48 kB / 0.6021 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/0.7143, allocations: 71.86 kB / 0.6022 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.7145, allocations: 80.31 kB / 0.6022 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.7146, allocations: 50.89 kB / 0.6023 GB, free: 9.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003958/0.7185, allocations: 2.391 MB / 0.6046 GB, free: 6.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7186, allocations: 0 / 0.6046 GB, free: 6.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005354/0.7239, allocations: 1.133 MB / 0.6057 GB, free: 5.738 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.7243, allocations: 165.6 kB / 0.6059 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008006/0.7323, allocations: 4.498 MB / 0.6103 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7323, allocations: 0 / 0.6103 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.7335, allocations: 0.9572 MB / 0.6112 GB, free: 156 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.7356, allocations: 350.2 kB / 0.6116 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.7527, allocations: 10.33 MB / 0.6216 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003585/0.7563, allocations: 3.277 MB / 0.6248 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.2749/1.031, allocations: 2.279 MB / 0.6271 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/1.032, allocations: 223.4 kB / 0.6273 GB, free: 138.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.032, allocations: 2.594 kB / 0.6273 GB, free: 138.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05133/1.084, allocations: 24.2 MB / 0.6509 GB, free: 136.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) Environment - environmentSimulation: