Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") translateModel(ModelicaTest.MultiBody.Sensors.RelativeSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004051/0.004051, allocations: 178.6 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.173/1.173, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001704/0.001704, allocations: 107.9 kB / 217.7 MB, free: 8.172 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.143/0.143, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.336e-06, allocations: 1.156 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09138, allocations: 48.7 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.3953, allocations: 97.96 MB / 496.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.3957, allocations: 76.73 kB / 496.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.8081/1.204, allocations: 237 MB / 0.7161 GB, free: 51.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.002652/1.206, allocations: 370.5 kB / 0.7164 GB, free: 51.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 0.06424/1.271, allocations: 15.75 MB / 0.7318 GB, free: 40.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/1.271, allocations: 8.031 kB / 0.7318 GB, free: 40.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/1.306, allocations: 7.908 MB / 0.7395 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03739/1.344, allocations: 12.48 MB / 0.7517 GB, free: 20.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/1.345, allocations: 0.6445 MB / 0.7524 GB, free: 19.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009242/1.354, allocations: 1.16 MB / 0.7535 GB, free: 18.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06/1.414, allocations: 23.49 MB / 0.7764 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.357/1.772, allocations: 34.1 MB / 0.8097 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001839/1.773, allocations: 144.3 kB / 0.8099 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01168/1.785, allocations: 71.25 kB / 0.8099 GB, free: 76.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/1.789, allocations: 2.5 MB / 0.8124 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5303/2.32, allocations: 142.6 MB / 0.9517 GB, free: 55.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/2.332, allocations: 8.091 MB / 0.9596 GB, free: 54.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/2.343, allocations: 7.135 MB / 0.9665 GB, free: 54.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05844/2.402, allocations: 28.05 MB / 0.9939 GB, free: 50.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/2.402, allocations: 80.06 kB / 0.994 GB, free: 50.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=381): time 1.353e-05/2.402, allocations: 0 / 0.994 GB, free: 50.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=495): time 0.8959/3.298, allocations: 198.6 MB / 1.188 GB, free: 130.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/3.298, allocations: 292 kB / 1.188 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/3.314, allocations: 7.98 MB / 1.196 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002705/3.317, allocations: 25.7 kB / 1.196 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007348/3.324, allocations: 10.37 MB / 1.206 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005021/3.329, allocations: 1.869 MB / 1.208 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00312/3.332, allocations: 0 / 1.208 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001127/3.333, allocations: 1.043 MB / 1.209 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02072/3.354, allocations: 15.8 MB / 1.224 GB, free: 110.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03206/3.386, allocations: 26.5 MB / 1.25 GB, free: 89.36 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03016/3.416, allocations: 20.01 MB / 1.27 GB, free: 81.51 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001172/3.417, allocations: 115.3 kB / 1.27 GB, free: 81.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2254) (initialization): time 0.3617/3.779, allocations: 42.38 MB / 1.311 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/3.779, allocations: 6.844 kB / 1.311 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001131/3.78, allocations: 383 kB / 1.312 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/3.782, allocations: 0.8808 MB / 1.313 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02422/3.807, allocations: 4.793 MB / 1.317 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/3.813, allocations: 5.387 MB / 1.323 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02477/3.838, allocations: 1.237 MB / 1.324 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006487/3.844, allocations: 1.045 MB / 1.325 GB, free: 122.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1753 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2198): * Single equations (assignments): 2188 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008919/3.853, allocations: 1.013 MB / 1.326 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003024/3.856, allocations: 0.8248 MB / 1.327 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05225/3.909, allocations: 30.44 MB / 1.356 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002438/3.909, allocations: 86.34 kB / 1.356 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/3.909, allocations: 4.781 kB / 1.356 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/3.909, allocations: 22.22 kB / 1.356 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1139/4.023, allocations: 69.66 MB / 1.424 GB, free: 83.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/4.023, allocations: 2.844 kB / 1.424 GB, free: 83.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01365/4.037, allocations: 1.547 MB / 1.426 GB, free: 83.57 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/4.038, allocations: 322.1 kB / 1.426 GB, free: 83.49 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002691/4.041, allocations: 14.53 kB / 1.426 GB, free: 83.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/4.045, allocations: 4.06 MB / 1.43 GB, free: 80.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/4.045, allocations: 3.5 kB / 1.43 GB, free: 80.5 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3274/4.372, allocations: 53.25 MB / 1.482 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01223/4.385, allocations: 3.889 MB / 1.486 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005946/4.391, allocations: 0 / 1.486 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01199/4.403, allocations: 0.9823 MB / 1.487 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002843/4.405, allocations: 228.5 kB / 1.487 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001722/4.407, allocations: 123.8 kB / 1.487 GB, free: 127 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01109/4.418, allocations: 5.321 MB / 1.493 GB, free: 126.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03013/4.448, allocations: 3.864 MB / 1.496 GB, free: 126.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (453): * Single equations (assignments): 443 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/4.452, allocations: 235.1 kB / 1.497 GB, free: 126.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05331/4.505, allocations: 34.73 MB / 1.53 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/4.505, allocations: 5.25 kB / 1.53 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01959/4.525, allocations: 15.02 MB / 1.545 GB, free: 117.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008706/4.534, allocations: 1.121 MB / 1.546 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/4.64, allocations: 42.76 MB / 1.588 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03971/4.68, allocations: 12.09 MB / 1.6 GB, free: 93.13 MB / 0.4949 GB Notification: Performance of SimCode: time 1.954e-06/4.68, allocations: 0 / 1.6 GB, free: 93.13 MB / 0.4949 GB Notification: Performance of Templates: time 0.9813/5.661, allocations: 222.3 MB / 1.817 GB, free: 120.9 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1)