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: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [: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.001655/0.001655, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009134/0.0009134, allocations: 90.55 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.276e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5296, allocations: 106.8 MB / 0.6081 GB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.53, allocations: 76.66 kB / 0.6082 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1975/0.7275, allocations: 75.93 MB / 0.6823 GB, free: 8.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002255/0.7277, allocations: 68 kB / 0.6824 GB, free: 8.68 MB / 474.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.01418/0.7419, allocations: 3.65 MB / 0.686 GB, free: 4.961 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.742, allocations: 8.031 kB / 0.686 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.7594, allocations: 3.91 MB / 0.6898 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.7703, allocations: 3.776 MB / 0.6935 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.7706, allocations: 116 kB / 0.6936 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/0.7725, allocations: 211.9 kB / 0.6938 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01212/0.7847, allocations: 5.445 MB / 0.6991 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.804, allocations: 8.397 MB / 0.7073 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/0.8043, allocations: 59.45 kB / 0.7074 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007229/0.805, allocations: 31.94 kB / 0.7074 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/0.8063, allocations: 0.9387 MB / 0.7083 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/0.8565, allocations: 41.13 MB / 0.7485 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1855/1.042, allocations: 3.163 MB / 0.7516 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/1.044, allocations: 1.893 MB / 0.7534 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006755/1.051, allocations: 5.641 MB / 0.7589 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.051, allocations: 42.81 kB / 0.759 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=129): time 3.918e-06/1.051, allocations: 0 / 0.759 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=151): time 0.0224/1.073, allocations: 12.17 MB / 0.7709 GB, free: 201.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/1.073, allocations: 172.5 kB / 0.771 GB, free: 201 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.077, allocations: 2.729 MB / 0.7737 GB, free: 200.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.078, allocations: 25.7 kB / 0.7737 GB, free: 200.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.079, allocations: 2.605 MB / 0.7763 GB, free: 199.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/1.079, allocations: 0.5723 MB / 0.7768 GB, free: 198.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.08, allocations: 0 / 0.7768 GB, free: 198.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002759/1.08, allocations: 0.5341 MB / 0.7773 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/1.082, allocations: 1.907 MB / 0.7792 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/1.086, allocations: 5.256 MB / 0.7843 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/1.089, allocations: 3.173 MB / 0.7874 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.047e-05/1.089, allocations: 35.88 kB / 0.7875 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01004/1.099, allocations: 7.024 MB / 0.7943 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.1, allocations: 7.875 kB / 0.7943 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.103e-05/1.1, allocations: 122.9 kB / 0.7945 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/1.102, allocations: 0.8923 MB / 0.7953 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/1.105, allocations: 1.226 MB / 0.7965 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/1.111, allocations: 5.573 MB / 0.802 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/1.116, allocations: 170.1 kB / 0.8021 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006607/1.116, allocations: 339.3 kB / 0.8024 GB, free: 188.9 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.0007151/1.117, allocations: 396.6 kB / 0.8028 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.118, allocations: 278.4 kB / 0.8031 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.122, allocations: 2.983 MB / 0.806 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.122, allocations: 11.62 kB / 0.806 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.122, allocations: 3.844 kB / 0.806 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.122, allocations: 14.55 kB / 0.806 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.134, allocations: 6.697 MB / 0.8126 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/1.134, allocations: 1.156 kB / 0.8126 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.135, allocations: 209.2 kB / 0.8128 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/1.137, allocations: 0.7025 MB / 0.8135 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.137, allocations: 7.594 kB / 0.8135 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/1.144, allocations: 5.097 MB / 0.8184 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.144, allocations: 3.938 kB / 0.8184 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007172/1.151, allocations: 5.539 MB / 0.8239 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.152, allocations: 320.9 kB / 0.8242 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/1.152, allocations: 4 kB / 0.8242 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.154, allocations: 38.2 kB / 0.8242 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.154, allocations: 68.97 kB / 0.8243 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.154, allocations: 43.11 kB / 0.8243 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002702/1.157, allocations: 1.833 MB / 0.8261 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004544/1.161, allocations: 0.7502 MB / 0.8268 GB, free: 173.2 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.0004196/1.162, allocations: 147.5 kB / 0.827 GB, free: 173 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006404/1.168, allocations: 4.644 MB / 0.8315 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.168, allocations: 0 / 0.8315 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.17, allocations: 1.606 MB / 0.8331 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.172, allocations: 295.8 kB / 0.8334 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.184, allocations: 6.831 MB / 0.84 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003325/1.187, allocations: 3.229 MB / 0.8432 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/1.187, allocations: 0 / 0.8432 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.05768/1.245, allocations: 33.02 MB / 0.8754 GB, free: 132.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches