Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 194.5 kB / 7.806 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 91.27 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2237/0.2237, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.235/0.4588, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.8234, allocations: 58.83 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.9731, allocations: 100.9 MB / 0.564 GB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.9734, allocations: 75.95 kB / 0.5641 GB, free: 13.94 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.4766/1.45, allocations: 84.92 MB / 0.647 GB, free: 110.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.45, allocations: 7.156 kB / 0.647 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/1.47, allocations: 4.424 MB / 0.6513 GB, free: 110.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.484, allocations: 5.308 MB / 0.6565 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/1.484, allocations: 119.3 kB / 0.6566 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/1.486, allocations: 217.2 kB / 0.6568 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01202/1.498, allocations: 7.062 MB / 0.6637 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/1.517, allocations: 9.363 MB / 0.6729 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.518, allocations: 31.44 kB / 0.6729 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007287/1.518, allocations: 16.75 kB / 0.6729 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001506/1.52, allocations: 1.225 MB / 0.6741 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/1.572, allocations: 35.5 MB / 0.7088 GB, free: 86.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/1.578, allocations: 4.186 MB / 0.7128 GB, free: 84.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/1.581, allocations: 2.415 MB / 0.7152 GB, free: 83.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/1.597, allocations: 10.75 MB / 0.7257 GB, free: 74.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/1.597, allocations: 46.12 kB / 0.7258 GB, free: 74.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 4.969e-06/1.597, allocations: 0 / 0.7258 GB, free: 74.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.02315/1.62, allocations: 10.53 MB / 0.736 GB, free: 65.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.62, allocations: 65.52 kB / 0.7361 GB, free: 65.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.625, allocations: 2.642 MB / 0.7387 GB, free: 62.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003042/1.625, allocations: 29.7 kB / 0.7387 GB, free: 62.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.626, allocations: 2.757 MB / 0.7414 GB, free: 60.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/1.627, allocations: 0.699 MB / 0.7421 GB, free: 59.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.627, allocations: 0 / 0.7421 GB, free: 59.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/1.628, allocations: 0.5568 MB / 0.7426 GB, free: 59.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/1.63, allocations: 2.541 MB / 0.7451 GB, free: 57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/1.635, allocations: 5.748 MB / 0.7507 GB, free: 50 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/1.64, allocations: 3.845 MB / 0.7545 GB, free: 46.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/1.64, allocations: 32 kB / 0.7545 GB, free: 46.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=756) (initialization): time 0.05584/1.695, allocations: 14.66 MB / 0.7688 GB, free: 32.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.696, allocations: 4 kB / 0.7688 GB, free: 32.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03813/1.734, allocations: 8.925 MB / 0.7775 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04203/1.776, allocations: 6.784 MB / 0.7842 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/1.78, allocations: 1.267 MB / 0.7854 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/1.804, allocations: 14.04 MB / 0.7991 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/1.809, allocations: 251.8 kB / 0.7994 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/1.811, allocations: 336 kB / 0.7997 GB, free: 392 kB / 474.7 MB 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.001871/1.813, allocations: 394.6 kB / 0.8001 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/1.814, allocations: 268.4 kB / 0.8003 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/1.815, allocations: 425 kB / 0.8007 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007102/1.822, allocations: 3.943 MB / 0.8046 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/1.822, allocations: 4 kB / 0.8046 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/1.822, allocations: 11.97 kB / 0.8046 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.843, allocations: 10.18 MB / 0.8145 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.843, allocations: 0 / 0.8145 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.844, allocations: 275.6 kB / 0.8148 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.847, allocations: 0.8531 MB / 0.8156 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.848, allocations: 23.91 kB / 0.8156 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/1.854, allocations: 5.175 MB / 0.8207 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009942/1.855, allocations: 1.364 MB / 0.822 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0106/1.866, allocations: 6.809 MB / 0.8287 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.227/2.093, allocations: 9.695 MB / 0.8381 GB, free: 181.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009352/2.094, allocations: 330 kB / 0.8385 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/2.094, allocations: 10.83 kB / 0.8385 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/2.096, allocations: 95.44 kB / 0.8386 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/2.096, allocations: 73.02 kB / 0.8386 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/2.096, allocations: 45.08 kB / 0.8387 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002697/2.099, allocations: 1.747 MB / 0.8404 GB, free: 181 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00571/2.104, allocations: 1.004 MB / 0.8414 GB, free: 181 MB / 0.4948 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.000544/2.105, allocations: 145.4 kB / 0.8415 GB, free: 181 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01096/2.116, allocations: 6.093 MB / 0.8475 GB, free: 180.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/2.116, allocations: 0 / 0.8475 GB, free: 180.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/2.119, allocations: 2.195 MB / 0.8496 GB, free: 180.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/2.121, allocations: 228.6 kB / 0.8498 GB, free: 180.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/2.139, allocations: 8.041 MB / 0.8577 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0049/2.143, allocations: 3.492 MB / 0.8611 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/2.144, allocations: 0 / 0.8611 GB, free: 178.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)