Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [: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.001813/0.001813, allocations: 179.9 kB / 8.519 MB, free: 1.84 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.263/1.263, allocations: 221.4 MB / 230.3 MB, free: 2.977 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.000891/0.0008911, allocations: 93.06 kB / 281.2 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2896/0.2896, allocations: 44.13 MB / 376.1 MB, free: 43.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/9.888e-06, allocations: 7.938 kB / 444 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 61.9 MB / 0.4941 GB, free: 42.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4441, allocations: 109.4 MB / 0.6009 GB, free: 7.836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4444, allocations: 72.58 kB / 0.601 GB, free: 7.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4791/0.9235, allocations: 97.06 MB / 0.6958 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001797/0.9237, allocations: 86.94 kB / 0.6959 GB, free: 102.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01517/0.9389, allocations: 5.023 MB / 0.7008 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9389, allocations: 10.81 kB / 0.7008 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.9561, allocations: 4.193 MB / 0.7049 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.9706, allocations: 5.821 MB / 0.7106 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.9709, allocations: 147.9 kB / 0.7107 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/0.9732, allocations: 277.4 kB / 0.711 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01275/0.986, allocations: 7.67 MB / 0.7184 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/1.005, allocations: 11.08 MB / 0.7293 GB, free: 97.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/1.005, allocations: 60.59 kB / 0.7293 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007562/1.006, allocations: 32.59 kB / 0.7294 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/1.008, allocations: 1.353 MB / 0.7307 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05776/1.065, allocations: 55.39 MB / 0.7848 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/1.071, allocations: 4.439 MB / 0.7891 GB, free: 55.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004621/1.075, allocations: 3.239 MB / 0.7923 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/1.095, allocations: 12.95 MB / 0.8049 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.095, allocations: 59.91 kB / 0.805 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 7.353e-06/1.095, allocations: 3.938 kB / 0.805 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.06501/1.16, allocations: 27.6 MB / 0.8319 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/1.16, allocations: 209.3 kB / 0.8321 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.165, allocations: 3.335 MB / 0.8354 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007459/1.166, allocations: 25.7 kB / 0.8354 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.168, allocations: 3.231 MB / 0.8386 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.169, allocations: 0.9246 MB / 0.8395 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/1.169, allocations: 0 / 0.8395 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003135/1.17, allocations: 0.6047 MB / 0.8401 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/1.173, allocations: 2.993 MB / 0.843 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006059/1.179, allocations: 7.045 MB / 0.8499 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/1.187, allocations: 4.537 MB / 0.8543 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.143e-05/1.187, allocations: 40 kB / 0.8543 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.0265/1.213, allocations: 11.52 MB / 0.8656 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.213, allocations: 4 kB / 0.8656 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002217/1.213, allocations: 146.8 kB / 0.8657 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009991/1.223, allocations: 2.944 MB / 0.8686 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006805/1.23, allocations: 1.571 MB / 0.8701 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2033/1.434, allocations: 13.27 MB / 0.8831 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/1.44, allocations: 284 kB / 0.8834 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.441, allocations: 424.4 kB / 0.8838 GB, free: 157.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/1.442, allocations: 465 kB / 0.8842 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/1.442, allocations: 372.6 kB / 0.8846 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.455, allocations: 7.001 MB / 0.8914 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.599e-05/1.455, allocations: 30.34 kB / 0.8914 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/1.455, allocations: 13.89 kB / 0.8914 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.456, allocations: 13.22 kB / 0.8915 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/1.48, allocations: 13.8 MB / 0.9049 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/1.48, allocations: 3.531 kB / 0.9049 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.482, allocations: 355.9 kB / 0.9053 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008066/1.49, allocations: 2.623 MB / 0.9078 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005231/1.491, allocations: 9.5 kB / 0.9078 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/1.506, allocations: 11.91 MB / 0.9195 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.507, allocations: 0 / 0.9195 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01788/1.524, allocations: 11.11 MB / 0.9303 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/1.525, allocations: 405.4 kB / 0.9307 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/1.526, allocations: 3.094 kB / 0.9307 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.528, allocations: 110.2 kB / 0.9308 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.529, allocations: 106 kB / 0.9309 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.529, allocations: 67.53 kB / 0.931 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003142/1.532, allocations: 2.241 MB / 0.9332 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005621/1.538, allocations: 1.124 MB / 0.9343 GB, free: 147.1 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005202/1.538, allocations: 147.3 kB / 0.9344 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.55, allocations: 7.489 MB / 0.9417 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.55, allocations: 1.094 kB / 0.9417 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/1.554, allocations: 2.898 MB / 0.9445 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.557, allocations: 358 kB / 0.9449 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/1.577, allocations: 9.887 MB / 0.9545 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006286/1.583, allocations: 4.043 MB / 0.9585 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/1.583, allocations: 0 / 0.9585 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.09425/1.677, allocations: 55.07 MB / 1.012 GB, free: 98.39 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches