Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 179.8 kB / 7.798 MB, free: 2.199 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.457/1.457, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.000959/0.0009587, allocations: 89.47 kB / 261.4 MB, free: 13.6 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.215/0.215, allocations: 43.48 MB / 352.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/0.4167, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.712, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.857, allocations: 104.9 MB / 0.5679 GB, free: 10 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.8573, allocations: 75.97 kB / 0.568 GB, free: 9.93 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.4259/1.283, allocations: 81.91 MB / 0.648 GB, free: 105.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.283, allocations: 10.92 kB / 0.648 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/1.299, allocations: 3.941 MB / 0.6518 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/1.312, allocations: 4.565 MB / 0.6563 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.312, allocations: 122.8 kB / 0.6564 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/1.313, allocations: 228.2 kB / 0.6566 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007986/1.321, allocations: 5.781 MB / 0.6623 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.334, allocations: 8.854 MB / 0.6709 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/1.334, allocations: 59.22 kB / 0.671 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/1.335, allocations: 28.95 kB / 0.671 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/1.336, allocations: 1.007 MB / 0.672 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/1.377, allocations: 42.64 MB / 0.7136 GB, free: 71.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/1.381, allocations: 3.37 MB / 0.7169 GB, free: 69.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/1.383, allocations: 2.058 MB / 0.7189 GB, free: 68.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009416/1.393, allocations: 6.056 MB / 0.7248 GB, free: 65.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.393, allocations: 53.03 kB / 0.7249 GB, free: 65.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.29e-06/1.393, allocations: 0 / 0.7249 GB, free: 65.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.02653/1.419, allocations: 13 MB / 0.7376 GB, free: 58.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.42, allocations: 171.2 kB / 0.7377 GB, free: 58.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/1.423, allocations: 2.811 MB / 0.7405 GB, free: 56.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.423, allocations: 25.7 kB / 0.7405 GB, free: 56.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009801/1.424, allocations: 2.728 MB / 0.7432 GB, free: 53.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/1.424, allocations: 0.6466 MB / 0.7438 GB, free: 53.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.425, allocations: 4 kB / 0.7438 GB, free: 53.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/1.425, allocations: 0.5502 MB / 0.7443 GB, free: 52.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/1.427, allocations: 2.068 MB / 0.7464 GB, free: 50.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.43, allocations: 5.544 MB / 0.7518 GB, free: 43.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/1.434, allocations: 3.386 MB / 0.7551 GB, free: 40.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.692e-05/1.434, allocations: 40 kB / 0.7551 GB, free: 40.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=746) (initialization): time 0.01289/1.447, allocations: 7.466 MB / 0.7624 GB, free: 34.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.447, allocations: 8.062 kB / 0.7624 GB, free: 34.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.447, allocations: 128.5 kB / 0.7625 GB, free: 34.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/1.45, allocations: 0.894 MB / 0.7634 GB, free: 33.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/1.454, allocations: 1.307 MB / 0.7647 GB, free: 32.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.462, allocations: 5.599 MB / 0.7702 GB, free: 27.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/1.467, allocations: 177.4 kB / 0.7703 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/1.468, allocations: 363.9 kB / 0.7707 GB, free: 26.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],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 (698): * Single equations (assignments): 694 * 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.00108/1.469, allocations: 404.5 kB / 0.7711 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/1.47, allocations: 292.2 kB / 0.7713 GB, free: 26.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/1.476, allocations: 3.331 MB / 0.7746 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/1.476, allocations: 20 kB / 0.7746 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.476, allocations: 4 kB / 0.7746 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/1.476, allocations: 7.969 kB / 0.7746 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.489, allocations: 7.34 MB / 0.7818 GB, free: 16.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.489, allocations: 7.938 kB / 0.7818 GB, free: 16.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.49, allocations: 255.6 kB / 0.782 GB, free: 16.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/1.492, allocations: 0.701 MB / 0.7827 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.492, allocations: 7.984 kB / 0.7827 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006008/1.498, allocations: 5.089 MB / 0.7877 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.498, allocations: 0 / 0.7877 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007408/1.506, allocations: 6.123 MB / 0.7937 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01037/1.516, allocations: 8.666 MB / 0.8021 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/1.518, allocations: 0.6142 MB / 0.8027 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/1.518, allocations: 4 kB / 0.8027 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.519, allocations: 47.92 kB / 0.8028 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.52, allocations: 76.88 kB / 0.8029 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.52, allocations: 47.38 kB / 0.8029 GB, free: 10.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003314/1.523, allocations: 1.888 MB / 0.8048 GB, free: 8.793 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00541/1.529, allocations: 0.793 MB / 0.8055 GB, free: 8 MB / 490.7 MB 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 (132): * Single equations (assignments): 128 * 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.0005438/1.529, allocations: 137.7 kB / 0.8057 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008945/1.538, allocations: 5.045 MB / 0.8106 GB, free: 2.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.538, allocations: 4 kB / 0.8106 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/1.541, allocations: 1.768 MB / 0.8123 GB, free: 1.059 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.543, allocations: 282 kB / 0.8126 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.558, allocations: 7.335 MB / 0.8197 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005017/1.563, allocations: 3.392 MB / 0.8231 GB, free: 6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/1.563, allocations: 4 kB / 0.8231 GB, free: 5.996 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)