Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001109/0.00111, allocations: 203.3 kB / 8.535 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008762/0.0008763, allocations: 94.47 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.1758/0.1758, allocations: 45.15 MB / 383.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2071/0.383, allocations: 69.36 MB / 452.7 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.4847, allocations: 63.24 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/0.7585, allocations: 106.9 MB / 0.6082 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.7587, allocations: 74.25 kB / 0.6083 GB, free: 12.22 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.2119/0.9706, allocations: 79.67 MB / 0.6861 GB, free: 4.887 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.9706, allocations: 8 kB / 0.6861 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/0.9872, allocations: 3.898 MB / 0.6899 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.9979, allocations: 3.78 MB / 0.6936 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.998, allocations: 120 kB / 0.6937 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007195/0.9988, allocations: 211.9 kB / 0.6939 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008493/1.007, allocations: 5.441 MB / 0.6992 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/1.019, allocations: 8.405 MB / 0.7074 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/1.019, allocations: 59.45 kB / 0.7075 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/1.019, allocations: 24 kB / 0.7075 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/1.021, allocations: 0.9504 MB / 0.7084 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/1.064, allocations: 41.13 MB / 0.7486 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1358/1.199, allocations: 3.153 MB / 0.7517 GB, free: 203.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/1.201, allocations: 1.893 MB / 0.7535 GB, free: 203.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006668/1.208, allocations: 5.641 MB / 0.759 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.208, allocations: 47.02 kB / 0.7591 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=129): time 3.677e-06/1.208, allocations: 0 / 0.7591 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=151): time 0.02202/1.23, allocations: 12.17 MB / 0.771 GB, free: 200.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.23, allocations: 171.7 kB / 0.7711 GB, free: 200 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/1.233, allocations: 2.723 MB / 0.7738 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.233, allocations: 25.7 kB / 0.7738 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009703/1.234, allocations: 2.607 MB / 0.7764 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.235, allocations: 0.5786 MB / 0.7769 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/1.235, allocations: 0 / 0.7769 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.235, allocations: 0.533 MB / 0.7774 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.237, allocations: 1.907 MB / 0.7793 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/1.24, allocations: 5.253 MB / 0.7844 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.244, allocations: 3.172 MB / 0.7875 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-05/1.244, allocations: 37.78 kB / 0.7876 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009845/1.254, allocations: 7.018 MB / 0.7944 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.254, allocations: 10.97 kB / 0.7944 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/1.254, allocations: 121.8 kB / 0.7946 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.256, allocations: 0.8978 MB / 0.7954 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/1.26, allocations: 1.222 MB / 0.7966 GB, free: 190.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/1.267, allocations: 5.571 MB / 0.8021 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.271, allocations: 173.5 kB / 0.8022 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007081/1.272, allocations: 345.5 kB / 0.8026 GB, free: 187.8 MB / 0.5261 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.0006843/1.273, allocations: 391.3 kB / 0.8029 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/1.273, allocations: 279.7 kB / 0.8032 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/1.278, allocations: 2.981 MB / 0.8061 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.278, allocations: 11.38 kB / 0.8061 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/1.278, allocations: 3.781 kB / 0.8061 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.278, allocations: 11.53 kB / 0.8061 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.289, allocations: 6.697 MB / 0.8127 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.289, allocations: 2.469 kB / 0.8127 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.291, allocations: 210.8 kB / 0.8129 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/1.293, allocations: 0.7019 MB / 0.8136 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.293, allocations: 8.031 kB / 0.8136 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/1.299, allocations: 5.094 MB / 0.8185 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.299, allocations: 0 / 0.8185 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006794/1.306, allocations: 5.544 MB / 0.824 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008454/1.315, allocations: 7.83 MB / 0.8316 GB, free: 167.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.315, allocations: 336.8 kB / 0.8319 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.316, allocations: 0 / 0.8319 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.317, allocations: 44.83 kB / 0.832 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.317, allocations: 73.05 kB / 0.832 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.317, allocations: 39.56 kB / 0.8321 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002301/1.319, allocations: 1.826 MB / 0.8339 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004685/1.324, allocations: 0.7557 MB / 0.8346 GB, free: 165.1 MB / 0.5261 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.0003574/1.325, allocations: 142.4 kB / 0.8347 GB, free: 165 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005919/1.33, allocations: 4.649 MB / 0.8393 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.33, allocations: 4 kB / 0.8393 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.333, allocations: 1.603 MB / 0.8408 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.334, allocations: 288.2 kB / 0.8411 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.346, allocations: 6.837 MB / 0.8478 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/1.35, allocations: 3.228 MB / 0.8509 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.35, allocations: 3.828 kB / 0.851 GB, free: 150.4 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)