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.009832/0.009832, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001757/0.001757, allocations: 197 kB / 16.68 MB, free: 5.926 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.666/1.666, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3316/0.3316, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.001476/0.001476, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 56.86 MB / 492.6 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01398/0.3831, allocations: 12.45 MB / 0.4932 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.3946, allocations: 4.048 MB / 0.4972 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004384/0.3991, allocations: 81.28 kB / 0.4973 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.4033, allocations: 1.686 MB / 0.4989 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005904/0.4092, allocations: 1.587 MB / 0.5005 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.412, allocations: 1.181 MB / 0.5016 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005899/0.4179, allocations: 3.619 MB / 0.5052 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.421, allocations: 2.526 MB / 0.5076 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.4234, allocations: 1.216 MB / 0.5088 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.4257, allocations: 1.662 MB / 0.5104 GB, free: 68 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.4263, allocations: 254.5 kB / 0.5107 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.4278, allocations: 0.7097 MB / 0.5114 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.4295, allocations: 1.663 MB / 0.513 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.4316, allocations: 1.983 MB / 0.5149 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007436/0.439, allocations: 6.511 MB / 0.5213 GB, free: 7.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4391, allocations: 0 / 0.5213 GB, free: 7.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4391, allocations: 0 / 0.5213 GB, free: 7.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001783/0.4393, allocations: 3.938 kB / 0.5213 GB, free: 7.062 MB / 398.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.008405/0.4477, allocations: 4.208 MB / 0.5254 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4478, allocations: 15.89 kB / 0.5254 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.4581, allocations: 3.009 MB / 0.5284 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005752/0.4639, allocations: 1.866 MB / 0.5302 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.4642, allocations: 201.3 kB / 0.5304 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.4656, allocations: 263.8 kB / 0.5306 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.4859, allocations: 10.52 MB / 0.5409 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-05/0.486, allocations: 31.69 kB / 0.5409 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006011/0.4866, allocations: 131.8 kB / 0.5411 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/0.4907, allocations: 2.443 MB / 0.5434 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.5089, allocations: 9.365 MB / 0.5526 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0565/0.5654, allocations: 38.75 MB / 0.5904 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/0.5715, allocations: 3.491 MB / 0.5938 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.5733, allocations: 1.281 MB / 0.5951 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.5845, allocations: 5.441 MB / 0.6004 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.5846, allocations: 51.12 kB / 0.6004 GB, free: 3.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.41e-06/0.5846, allocations: 0 / 0.6004 GB, free: 3.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.006969/0.5916, allocations: 3.358 MB / 0.6037 GB, free: 196 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.5918, allocations: 166.8 kB / 0.6039 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007207/0.599, allocations: 3.959 MB / 0.6077 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003938/0.5994, allocations: 41.7 kB / 0.6078 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004181/0.6036, allocations: 3.312 MB / 0.611 GB, free: 8.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.6048, allocations: 0.6255 MB / 0.6116 GB, free: 8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001891/0.6067, allocations: 1.352 MB / 0.613 GB, free: 6.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6069, allocations: 309.1 kB / 0.6133 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.61, allocations: 2.008 MB / 0.6152 GB, free: 4.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/0.6159, allocations: 6.299 MB / 0.6214 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.6265, allocations: 9.069 MB / 0.6302 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/0.6267, allocations: 44 kB / 0.6303 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.3257/0.9524, allocations: 7.918 MB / 0.638 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.9527, allocations: 75.83 kB / 0.6381 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003575/0.953, allocations: 152.9 kB / 0.6382 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.9534, allocations: 200.1 kB / 0.6384 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/0.9586, allocations: 1.507 MB / 0.6399 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002964/0.9589, allocations: 301.5 kB / 0.6402 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/0.9635, allocations: 0.9461 MB / 0.6411 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007492/0.9642, allocations: 420.6 kB / 0.6415 GB, free: 118.6 MB / 0.4981 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.004346/0.9686, allocations: 2.277 MB / 0.6437 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006735/0.9693, allocations: 320.9 kB / 0.644 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.9701, allocations: 416.9 kB / 0.6444 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-05/0.9702, allocations: 38.06 kB / 0.6444 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.9702, allocations: 2.812 kB / 0.6445 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.9702, allocations: 13.19 kB / 0.6445 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.9815, allocations: 5.701 MB / 0.65 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.9816, allocations: 7.281 kB / 0.65 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.9827, allocations: 212.3 kB / 0.6502 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/0.9827, allocations: 10.34 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.9828, allocations: 27.28 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.9828, allocations: 15.34 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.9828, allocations: 12.53 kB / 0.6503 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.9865, allocations: 2.582 MB / 0.6528 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009432/0.9875, allocations: 380.7 kB / 0.6532 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.9878, allocations: 35.89 kB / 0.6532 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.9888, allocations: 61.31 kB / 0.6533 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.989, allocations: 87.06 kB / 0.6534 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.9891, allocations: 40.41 kB / 0.6534 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004618/0.9937, allocations: 2.418 MB / 0.6558 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9937, allocations: 3.844 kB / 0.6558 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007485/1.001, allocations: 1.136 MB / 0.6569 GB, free: 112.1 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.0005205/1.002, allocations: 162.5 kB / 0.657 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008421/1.01, allocations: 4.555 MB / 0.6615 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.01, allocations: 1.406 kB / 0.6615 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.012, allocations: 0.9594 MB / 0.6624 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.014, allocations: 362.4 kB / 0.6628 GB, free: 110 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.03, allocations: 8.613 MB / 0.6712 GB, free: 106 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/1.033, allocations: 3.274 MB / 0.6744 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004285/1.038, allocations: 2.28 MB / 0.6766 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/1.038, allocations: 227.4 kB / 0.6768 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.038, allocations: 0 / 0.6768 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04784/1.086, allocations: 21.75 MB / 0.6981 GB, free: 79.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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)