Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",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.001015/0.001015, allocations: 178.3 kB / 8.473 MB, free: 1.871 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.106/1.106, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.00088, allocations: 83.27 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.151/0.1519, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0644/0.2164, allocations: 47.58 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.4511, allocations: 113.4 MB / 476 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4513, allocations: 80.02 kB / 476.1 MB, free: 11.53 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.4937/0.945, allocations: 144.3 MB / 0.6059 GB, free: 71.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.9451, allocations: 7.312 kB / 0.6059 GB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.9571, allocations: 2.455 MB / 0.6083 GB, free: 70.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/0.9749, allocations: 8.139 MB / 0.6162 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.9753, allocations: 256.2 kB / 0.6165 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.9776, allocations: 481.4 kB / 0.6169 GB, free: 69.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01763/0.9952, allocations: 11.86 MB / 0.6285 GB, free: 67.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/1.022, allocations: 16.82 MB / 0.6449 GB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/1.022, allocations: 90.94 kB / 0.645 GB, free: 55.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/1.024, allocations: 40 kB / 0.6451 GB, free: 55.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/1.026, allocations: 1.818 MB / 0.6468 GB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/1.326, allocations: 81.63 MB / 0.7265 GB, free: 80.85 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006051/1.332, allocations: 5.775 MB / 0.7322 GB, free: 80.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004694/1.337, allocations: 4.878 MB / 0.7369 GB, free: 80.15 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/1.355, allocations: 14.13 MB / 0.7507 GB, free: 77.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.355, allocations: 68.41 kB / 0.7508 GB, free: 77.16 MB / 426.8 MB Notification: Performance of pre-optimization done (n=322): time 6.031e-06/1.355, allocations: 0 / 0.7508 GB, free: 77.16 MB / 426.8 MB Notification: Performance of matching and sorting (n=392): time 0.08445/1.44, allocations: 40 MB / 0.7899 GB, free: 66.84 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.44, allocations: 168.1 kB / 0.79 GB, free: 66.68 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005922/1.446, allocations: 4.777 MB / 0.7947 GB, free: 64.99 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005785/1.446, allocations: 25.7 kB / 0.7947 GB, free: 64.96 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.448, allocations: 4.766 MB / 0.7994 GB, free: 61.38 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.449, allocations: 1.409 MB / 0.8008 GB, free: 60.32 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/1.45, allocations: 0 / 0.8008 GB, free: 60.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003808/1.45, allocations: 0.7288 MB / 0.8015 GB, free: 59.84 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005099/1.455, allocations: 4.415 MB / 0.8058 GB, free: 56.73 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006603/1.462, allocations: 9.949 MB / 0.8155 GB, free: 44.92 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007533/1.469, allocations: 6.592 MB / 0.8219 GB, free: 39.66 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/1.469, allocations: 56 kB / 0.822 GB, free: 39.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=1302) (initialization): time 0.02824/1.498, allocations: 16.61 MB / 0.8382 GB, free: 26.37 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.498, allocations: 4 kB / 0.8382 GB, free: 26.37 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.498, allocations: 200 kB / 0.8384 GB, free: 26.17 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/1.509, allocations: 3.542 MB / 0.8419 GB, free: 23.71 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007839/1.517, allocations: 2.299 MB / 0.8441 GB, free: 21.73 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02887/1.546, allocations: 24.86 MB / 0.8684 GB, free: 15.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00898/1.555, allocations: 360.9 kB / 0.8687 GB, free: 14.81 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.557, allocations: 0.6074 MB / 0.8693 GB, free: 14.25 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 66 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1208): * Single equations (assignments): 1193 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002347/1.559, allocations: 0.6061 MB / 0.8699 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.56, allocations: 0.536 MB / 0.8704 GB, free: 13.09 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/1.582, allocations: 10.25 MB / 0.8804 GB, free: 4.828 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1394/1.721, allocations: 8.942 MB / 0.8892 GB, free: 120.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01718/1.738, allocations: 9.334 MB / 0.8983 GB, free: 119.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/1.739, allocations: 20.34 kB / 0.8983 GB, free: 119.6 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03971/1.778, allocations: 23.55 MB / 0.9213 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.778, allocations: 5.781 kB / 0.9213 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/1.782, allocations: 0.6087 MB / 0.9219 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009405/1.791, allocations: 2.811 MB / 0.9247 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.792, allocations: 22.62 kB / 0.9247 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/1.816, allocations: 19.07 MB / 0.9433 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00562/1.822, allocations: 5.203 MB / 0.9484 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02369/1.845, allocations: 15.77 MB / 0.9638 GB, free: 98.84 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02836/1.874, allocations: 21.26 MB / 0.9845 GB, free: 85.95 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.877, allocations: 1.233 MB / 0.9857 GB, free: 84.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.878, allocations: 14.69 kB / 0.9858 GB, free: 84.86 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/1.882, allocations: 137.6 kB / 0.9859 GB, free: 84.78 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/1.882, allocations: 194.3 kB / 0.9861 GB, free: 84.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/1.883, allocations: 110.2 kB / 0.9862 GB, free: 84.57 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.005067/1.888, allocations: 3.225 MB / 0.9893 GB, free: 81.78 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009338/1.897, allocations: 1.869 MB / 0.9912 GB, free: 79.93 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 296 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009365/1.898, allocations: 237.7 kB / 0.9914 GB, free: 79.77 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0165/1.914, allocations: 11.27 MB / 1.002 GB, free: 70.03 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.914, allocations: 4 kB / 1.002 GB, free: 70.02 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007363/1.922, allocations: 4.548 MB / 1.007 GB, free: 65.98 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.926, allocations: 0.6557 MB / 1.007 GB, free: 65.45 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/1.956, allocations: 15.23 MB / 1.022 GB, free: 51.82 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1323/2.088, allocations: 6.071 MB / 1.028 GB, free: 119.9 MB / 442.8 MB Notification: Performance of SimCode: time 8.42e-07/2.088, allocations: 0 / 1.028 GB, free: 119.9 MB / 442.8 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)