Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum") translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum") [: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.2+maint.om/package.mo): time 0.003666/0.003666, allocations: 182.2 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.318/1.318, allocations: 194.2 MB / 202.1 MB, free: 8.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00185/0.00185, allocations: 123.5 kB / 247.1 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.167/0.167, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.963e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4386, allocations: 94.57 MB / 0.5295 GB, free: 5.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4389, allocations: 67.78 kB / 0.5296 GB, free: 5.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6332/1.072, allocations: 166.4 MB / 0.6921 GB, free: 81.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005865/1.073, allocations: 178.8 kB / 0.6923 GB, free: 81.62 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.03861/1.111, allocations: 9.541 MB / 0.7016 GB, free: 78.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.111, allocations: 9.5 kB / 0.7016 GB, free: 78.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07083/1.182, allocations: 19.96 MB / 0.7211 GB, free: 77.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04303/1.225, allocations: 19.9 MB / 0.7405 GB, free: 76.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/1.226, allocations: 244.2 kB / 0.7408 GB, free: 76.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/1.229, allocations: 484.5 kB / 0.7412 GB, free: 76.37 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02335/1.253, allocations: 10.88 MB / 0.7518 GB, free: 76.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/1.283, allocations: 16.69 MB / 0.7681 GB, free: 64.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003902/1.283, allocations: 141.2 kB / 0.7683 GB, free: 64.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/1.285, allocations: 55.94 kB / 0.7683 GB, free: 64.51 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/1.287, allocations: 1.789 MB / 0.7701 GB, free: 63.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2966/1.583, allocations: 90.69 MB / 0.8586 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/1.592, allocations: 6.537 MB / 0.865 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/1.598, allocations: 5.508 MB / 0.8704 GB, free: 86.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03043/1.629, allocations: 19.55 MB / 0.8895 GB, free: 82.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/1.629, allocations: 73.38 kB / 0.8896 GB, free: 82.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=316): time 6.582e-06/1.629, allocations: 0 / 0.8896 GB, free: 82.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=387): time 0.1207/1.749, allocations: 50.33 MB / 0.9387 GB, free: 71.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.75, allocations: 478.4 kB / 0.9392 GB, free: 71.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.761, allocations: 6.861 MB / 0.9459 GB, free: 68.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001253/1.762, allocations: 29.7 kB / 0.9459 GB, free: 68.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.765, allocations: 5.106 MB / 0.9509 GB, free: 64.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002636/1.768, allocations: 1.466 MB / 0.9523 GB, free: 63.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009053/1.769, allocations: 0 / 0.9523 GB, free: 63.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004705/1.769, allocations: 0.7916 MB / 0.9531 GB, free: 62.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007247/1.777, allocations: 5.588 MB / 0.9586 GB, free: 57.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01311/1.79, allocations: 11.94 MB / 0.9702 GB, free: 43.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.801, allocations: 8.005 MB / 0.978 GB, free: 37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/1.802, allocations: 64 kB / 0.9781 GB, free: 36.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=1466) (initialization): time 0.07593/1.877, allocations: 29.28 MB / 1.007 GB, free: 15.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.878, allocations: 8 kB / 1.007 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05387/1.931, allocations: 19.58 MB / 1.026 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05317/1.985, allocations: 13.3 MB / 1.039 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/1.996, allocations: 2.64 MB / 1.041 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2512/2.247, allocations: 33.74 MB / 1.074 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/2.26, allocations: 0.6794 MB / 1.075 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002959/2.263, allocations: 0.6778 MB / 1.076 GB, free: 128.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * Number of states: 0 () * Number of discrete variables: 63 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[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 (1318): * Single equations (assignments): 1294 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002716/2.266, allocations: 0.6655 MB / 1.076 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.267, allocations: 0.7487 MB / 1.077 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/2.295, allocations: 13.38 MB / 1.09 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02573/2.321, allocations: 11.96 MB / 1.102 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.987e-05/2.321, allocations: 15.41 kB / 1.102 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/2.321, allocations: 18.23 kB / 1.102 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05757/2.379, allocations: 27.5 MB / 1.129 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/2.379, allocations: 2.688 kB / 1.129 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004526/2.384, allocations: 0.7603 MB / 1.129 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/2.402, allocations: 5.351 MB / 1.135 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001706/2.404, allocations: 58.2 kB / 1.135 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03366/2.437, allocations: 25.71 MB / 1.16 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002342/2.44, allocations: 4.358 MB / 1.164 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03458/2.474, allocations: 20.14 MB / 1.184 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002965/2.477, allocations: 0.7873 MB / 1.185 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003779/2.481, allocations: 25.58 kB / 1.185 GB, free: 78.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007317/2.488, allocations: 278.9 kB / 1.185 GB, free: 78.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/2.49, allocations: 204.9 kB / 1.185 GB, free: 78.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008029/2.491, allocations: 116.8 kB / 1.185 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.008725/2.499, allocations: 4.767 MB / 1.19 GB, free: 74.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01331/2.513, allocations: 2.58 MB / 1.192 GB, free: 71.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 271 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/2.514, allocations: 186 kB / 1.192 GB, free: 71.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02737/2.541, allocations: 15.31 MB / 1.207 GB, free: 58.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/2.541, allocations: 6.297 kB / 1.207 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/2.555, allocations: 6.947 MB / 1.214 GB, free: 51.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008863/2.564, allocations: 1.049 MB / 1.215 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/2.61, allocations: 20.52 MB / 1.235 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2342/2.844, allocations: 6.814 MB / 1.242 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/2.844, allocations: 0 / 1.242 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.2103/3.054, allocations: 121.5 MB / 1.361 GB, free: 84.92 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe 2>&1)