Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 184.5 kB / 8.52 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 7.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.000941, allocations: 88.69 kB / 281.2 MB, free: 5.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1642/0.1642, allocations: 44.14 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1721/0.3364, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.4288, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/0.6891, allocations: 105.9 MB / 0.5976 GB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.6893, allocations: 75.95 kB / 0.5977 GB, free: 6.535 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.2092/0.8985, allocations: 78.83 MB / 0.6747 GB, free: 7.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8985, allocations: 17.19 kB / 0.6747 GB, free: 7.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.9154, allocations: 3.902 MB / 0.6785 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.9269, allocations: 4.322 MB / 0.6827 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.9271, allocations: 116 kB / 0.6829 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.9284, allocations: 211.9 kB / 0.6831 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009069/0.9375, allocations: 5.449 MB / 0.6884 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.9491, allocations: 8.396 MB / 0.6966 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.9492, allocations: 63.34 kB / 0.6966 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004002/0.9496, allocations: 27.98 kB / 0.6967 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001051/0.9507, allocations: 0.9427 MB / 0.6976 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1574/1.108, allocations: 41.11 MB / 0.7377 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/1.111, allocations: 3.165 MB / 0.7408 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/1.113, allocations: 1.895 MB / 0.7427 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006221/1.119, allocations: 5.662 MB / 0.7482 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/1.119, allocations: 50.69 kB / 0.7483 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=129): time 3.297e-06/1.119, allocations: 0 / 0.7483 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=151): time 0.02107/1.14, allocations: 12.16 MB / 0.7601 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.14, allocations: 175.2 kB / 0.7603 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/1.143, allocations: 2.722 MB / 0.763 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.143, allocations: 29.02 kB / 0.763 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/1.144, allocations: 2.6 MB / 0.7655 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/1.144, allocations: 0.5796 MB / 0.7661 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.145, allocations: 2.812 kB / 0.7661 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.145, allocations: 0.5297 MB / 0.7666 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.147, allocations: 1.902 MB / 0.7685 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/1.15, allocations: 5.262 MB / 0.7736 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/1.153, allocations: 3.172 MB / 0.7767 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/1.153, allocations: 33.84 kB / 0.7767 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009326/1.163, allocations: 7.021 MB / 0.7836 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.163, allocations: 4.844 kB / 0.7836 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.539e-05/1.163, allocations: 119 kB / 0.7837 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.165, allocations: 0.9039 MB / 0.7846 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/1.168, allocations: 1.223 MB / 0.7858 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006903/1.175, allocations: 5.581 MB / 0.7912 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.178, allocations: 169.8 kB / 0.7914 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/1.179, allocations: 341.4 kB / 0.7917 GB, free: 147.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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.groundColor[3],world.groundColor[2],world.groundColor[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 (657): * Single equations (assignments): 653 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005414/1.179, allocations: 406.9 kB / 0.7921 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/1.18, allocations: 274 kB / 0.7924 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/1.185, allocations: 2.97 MB / 0.7953 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.185, allocations: 12.84 kB / 0.7953 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.185, allocations: 8.938 kB / 0.7953 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.185, allocations: 7.094 kB / 0.7953 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.195, allocations: 6.692 MB / 0.8018 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.195, allocations: 4 kB / 0.8018 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.196, allocations: 212.3 kB / 0.802 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/1.198, allocations: 0.7046 MB / 0.8027 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.198, allocations: 7.703 kB / 0.8027 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/1.204, allocations: 5.099 MB / 0.8077 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.204, allocations: 0 / 0.8077 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006233/1.21, allocations: 5.541 MB / 0.8131 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008038/1.218, allocations: 7.826 MB / 0.8208 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/1.219, allocations: 325.1 kB / 0.8211 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/1.219, allocations: 8 kB / 0.8211 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.22, allocations: 47.36 kB / 0.8211 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.22, allocations: 61.28 kB / 0.8212 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.22, allocations: 39.05 kB / 0.8212 GB, free: 123 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002234/1.223, allocations: 1.825 MB / 0.823 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00441/1.227, allocations: 0.7537 MB / 0.8237 GB, free: 120.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003439/1.227, allocations: 138 kB / 0.8239 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005587/1.233, allocations: 4.651 MB / 0.8284 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.233, allocations: 7 kB / 0.8284 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/1.235, allocations: 1.604 MB / 0.83 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/1.236, allocations: 284.6 kB / 0.8303 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/1.246, allocations: 6.844 MB / 0.8369 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/1.25, allocations: 3.238 MB / 0.8401 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/1.25, allocations: 0 / 0.8401 GB, free: 105.9 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)