Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001553/0.001553, allocations: 203.1 kB / 8.542 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009202/0.0009202, allocations: 96.16 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1691/0.1691, allocations: 45.15 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1843/0.3535, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.4319, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2571/0.6891, allocations: 103.4 MB / 0.6048 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.6893, allocations: 73.09 kB / 0.6049 GB, free: 15.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.2266/0.9159, allocations: 88.4 MB / 0.6912 GB, free: 15.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.916, allocations: 12 kB / 0.6912 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/0.9387, allocations: 4.85 MB / 0.696 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.9502, allocations: 4.498 MB / 0.7004 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.9504, allocations: 116 kB / 0.7005 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008561/0.9512, allocations: 215.9 kB / 0.7007 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009793/0.961, allocations: 7.063 MB / 0.7076 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.9733, allocations: 9.371 MB / 0.7167 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/0.9734, allocations: 31.73 kB / 0.7168 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/0.9739, allocations: 16 kB / 0.7168 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.9753, allocations: 1.226 MB / 0.718 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1684/1.144, allocations: 35.48 MB / 0.7526 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/1.148, allocations: 4.179 MB / 0.7567 GB, free: 201.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/1.15, allocations: 2.413 MB / 0.7591 GB, free: 201.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/1.162, allocations: 10.73 MB / 0.7695 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.162, allocations: 46.16 kB / 0.7696 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 4.028e-06/1.162, allocations: 0 / 0.7696 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.01964/1.182, allocations: 10.48 MB / 0.7798 GB, free: 196.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.182, allocations: 69.97 kB / 0.7799 GB, free: 196.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/1.185, allocations: 2.632 MB / 0.7825 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.185, allocations: 25.7 kB / 0.7825 GB, free: 196.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/1.186, allocations: 2.755 MB / 0.7852 GB, free: 194.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/1.187, allocations: 0.7006 MB / 0.7859 GB, free: 194.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/1.187, allocations: 1.969 kB / 0.7859 GB, free: 194.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.187, allocations: 0.5531 MB / 0.7864 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/1.19, allocations: 2.54 MB / 0.7889 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/1.194, allocations: 5.746 MB / 0.7945 GB, free: 189 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/1.198, allocations: 3.846 MB / 0.7982 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/1.198, allocations: 33.78 kB / 0.7983 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.05763/1.255, allocations: 13.56 MB / 0.8115 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.255, allocations: 4.469 kB / 0.8115 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04238/1.298, allocations: 8.11 MB / 0.8194 GB, free: 182 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04536/1.343, allocations: 5.832 MB / 0.8251 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/1.348, allocations: 1.265 MB / 0.8264 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/1.37, allocations: 13.8 MB / 0.8399 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.374, allocations: 244 kB / 0.8401 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/1.375, allocations: 339.2 kB / 0.8404 GB, free: 165 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 673 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006233/1.375, allocations: 391.9 kB / 0.8408 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/1.376, allocations: 268.4 kB / 0.841 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/1.377, allocations: 422.6 kB / 0.8414 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006055/1.383, allocations: 3.95 MB / 0.8453 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.383, allocations: 4 kB / 0.8453 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/1.383, allocations: 6.891 kB / 0.8453 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.398, allocations: 10.17 MB / 0.8552 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/1.398, allocations: 4 kB / 0.8552 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.399, allocations: 271.6 kB / 0.8555 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/1.402, allocations: 0.8632 MB / 0.8563 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.402, allocations: 15.89 kB / 0.8564 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/1.407, allocations: 5.17 MB / 0.8614 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005874/1.408, allocations: 1.363 MB / 0.8627 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008474/1.416, allocations: 6.819 MB / 0.8694 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01063/1.427, allocations: 9.699 MB / 0.8789 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/1.427, allocations: 333.1 kB / 0.8792 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/1.428, allocations: 8 kB / 0.8792 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.429, allocations: 95.84 kB / 0.8793 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.43, allocations: 81.03 kB / 0.8794 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.43, allocations: 43.98 kB / 0.8794 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002044/1.432, allocations: 1.743 MB / 0.8811 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004404/1.436, allocations: 1.001 MB / 0.8821 GB, free: 123.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003826/1.437, allocations: 146 kB / 0.8822 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008328/1.445, allocations: 6.058 MB / 0.8881 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.445, allocations: 0 / 0.8881 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/1.448, allocations: 2.194 MB / 0.8903 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.449, allocations: 232.8 kB / 0.8905 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.461, allocations: 8.019 MB / 0.8983 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003733/1.465, allocations: 3.484 MB / 0.9017 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/1.465, allocations: 0 / 0.9017 GB, free: 103.4 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)