Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") [: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.001007/0.001007, allocations: 188.6 kB / 8.141 MB, free: 2.211 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.154/1.154, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0008819/0.000882, allocations: 92.41 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.642e-06, allocations: 0 / 336.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3107, allocations: 114.8 MB / 0.4899 GB, free: 3.996 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3109, allocations: 91.94 kB / 0.49 GB, free: 3.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4634/0.7743, allocations: 135.7 MB / 0.6226 GB, free: 1.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005595/0.7749, allocations: 164 kB / 0.6227 GB, free: 1.461 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.02832/0.8033, allocations: 7.747 MB / 0.6303 GB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.8033, allocations: 12.03 kB / 0.6303 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.818, allocations: 2.423 MB / 0.6327 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02056/0.8386, allocations: 7.757 MB / 0.6402 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/0.839, allocations: 252 kB / 0.6405 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003235/0.8423, allocations: 467.8 kB / 0.6409 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02199/0.8643, allocations: 11.65 MB / 0.6523 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1755/1.04, allocations: 16.57 MB / 0.6685 GB, free: 83.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/1.04, allocations: 87.39 kB / 0.6686 GB, free: 83.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001836/1.042, allocations: 40.53 kB / 0.6686 GB, free: 83.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/1.044, allocations: 1.776 MB / 0.6704 GB, free: 83.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08306/1.127, allocations: 80.85 MB / 0.7493 GB, free: 42.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/1.134, allocations: 5.738 MB / 0.7549 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005195/1.139, allocations: 4.835 MB / 0.7596 GB, free: 37.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02/1.159, allocations: 13.98 MB / 0.7733 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.159, allocations: 69.34 kB / 0.7734 GB, free: 30.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=313): time 7.654e-06/1.159, allocations: 0 / 0.7734 GB, free: 30.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=383): time 0.08428/1.243, allocations: 39.58 MB / 0.812 GB, free: 11.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.243, allocations: 163.1 kB / 0.8122 GB, free: 11.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006022/1.249, allocations: 4.668 MB / 0.8167 GB, free: 7.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008445/1.25, allocations: 25.7 kB / 0.8167 GB, free: 7.176 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.252, allocations: 4.674 MB / 0.8213 GB, free: 2.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.254, allocations: 1.374 MB / 0.8226 GB, free: 1.742 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/1.255, allocations: 0 / 0.8226 GB, free: 1.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004488/1.255, allocations: 0.7242 MB / 0.8234 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01823/1.273, allocations: 5.48 MB / 0.8287 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1399/1.413, allocations: 9.787 MB / 0.8383 GB, free: 79.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/1.422, allocations: 6.517 MB / 0.8446 GB, free: 79.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-05/1.422, allocations: 54.09 kB / 0.8447 GB, free: 79.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.02982/1.452, allocations: 16.4 MB / 0.8607 GB, free: 79.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.452, allocations: 3.906 kB / 0.8607 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002593/1.452, allocations: 198.9 kB / 0.8609 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/1.463, allocations: 3.531 MB / 0.8643 GB, free: 79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008107/1.471, allocations: 2.248 MB / 0.8665 GB, free: 78.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02747/1.499, allocations: 24.87 MB / 0.8908 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008213/1.507, allocations: 356.9 kB / 0.8912 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/1.509, allocations: 0.5927 MB / 0.8917 GB, free: 70.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 68 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1183): * Single equations (assignments): 1168 * 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.001505/1.51, allocations: 0.5963 MB / 0.8923 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000897/1.511, allocations: 0.5296 MB / 0.8928 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.529, allocations: 10.15 MB / 0.9027 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02408/1.554, allocations: 8.802 MB / 0.9113 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01961/1.573, allocations: 9.255 MB / 0.9204 GB, free: 63.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.573, allocations: 15.5 kB / 0.9204 GB, free: 63.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0409/1.614, allocations: 22.86 MB / 0.9427 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.614, allocations: 4.656 kB / 0.9427 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/1.618, allocations: 0.5918 MB / 0.9433 GB, free: 50.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009486/1.628, allocations: 2.81 MB / 0.946 GB, free: 48.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.629, allocations: 21.06 kB / 0.9461 GB, free: 48.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/1.653, allocations: 19.06 MB / 0.9647 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005427/1.658, allocations: 5.187 MB / 0.9697 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.171/1.829, allocations: 15.18 MB / 0.9846 GB, free: 74.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.831, allocations: 0.5517 MB / 0.9851 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.832, allocations: 8.062 kB / 0.9851 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/1.835, allocations: 137.9 kB / 0.9852 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/1.836, allocations: 174.9 kB / 0.9854 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/1.836, allocations: 107 kB / 0.9855 GB, free: 73.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00455/1.841, allocations: 3.15 MB / 0.9886 GB, free: 73.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009155/1.85, allocations: 1.833 MB / 0.9904 GB, free: 73.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (294): * Single equations (assignments): 286 * 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.0009486/1.851, allocations: 238.5 kB / 0.9906 GB, free: 73.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01516/1.866, allocations: 11.13 MB / 1.001 GB, free: 72.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.866, allocations: 0 / 1.001 GB, free: 72.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006375/1.872, allocations: 4.502 MB / 1.006 GB, free: 72.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.876, allocations: 0.6479 MB / 1.006 GB, free: 72.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.903, allocations: 14.91 MB / 1.021 GB, free: 69.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009234/1.912, allocations: 5.954 MB / 1.027 GB, free: 68.81 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/1.912, allocations: 0 / 1.027 GB, free: 68.81 MB / 426.7 MB Notification: Performance of Templates: time 0.1307/2.043, allocations: 85.44 MB / 1.11 GB, free: 26.48 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches