Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 236 MB, free: 2.906 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.0007783/0.0007786, allocations: 102.7 kB / 287 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1781/0.1781, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.537e-05, allocations: 0 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.5017, allocations: 117.4 MB / 0.6163 GB, free: 3.898 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.502, allocations: 75.97 kB / 0.6164 GB, free: 3.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.606/1.108, allocations: 144.9 MB / 0.7579 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/1.108, allocations: 0 / 0.7579 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002956/1.108, allocations: 136 kB / 0.758 GB, free: 113.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01715/1.126, allocations: 6.633 MB / 0.7645 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.126, allocations: 7.094 kB / 0.7645 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03587/1.161, allocations: 9.327 MB / 0.7736 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/1.181, allocations: 8.666 MB / 0.7821 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/1.182, allocations: 485.2 kB / 0.7825 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/1.185, allocations: 0.6316 MB / 0.7831 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/1.218, allocations: 15.54 MB / 0.7983 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002899/1.218, allocations: 86.02 kB / 0.7984 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.219, allocations: 295.1 kB / 0.7987 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/1.221, allocations: 1.384 MB / 0.8 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/1.247, allocations: 12.72 MB / 0.8125 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06856/1.315, allocations: 64.37 MB / 0.8753 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/1.331, allocations: 6.24 MB / 0.8814 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/1.334, allocations: 3.118 MB / 0.8845 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/1.349, allocations: 11.14 MB / 0.8953 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/1.349, allocations: 64.5 kB / 0.8954 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 5.29e-06/1.349, allocations: 0 / 0.8954 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.3855/1.734, allocations: 29.47 MB / 0.9242 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/1.734, allocations: 244.2 kB / 0.9244 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009644/1.744, allocations: 4.907 MB / 0.9292 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008471/1.745, allocations: 76.83 kB / 0.9293 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003769/1.749, allocations: 4.463 MB / 0.9336 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/1.751, allocations: 1.239 MB / 0.9348 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005477/1.751, allocations: 165 kB / 0.935 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005015/1.752, allocations: 0.6485 MB / 0.9356 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/1.758, allocations: 3.53 MB / 0.9391 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008599/1.766, allocations: 8.071 MB / 0.947 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007027/1.773, allocations: 5.295 MB / 0.9521 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.015e-05/1.773, allocations: 49.09 kB / 0.9522 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03229/1.806, allocations: 14.6 MB / 0.9664 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.806, allocations: 71.34 kB / 0.9665 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.806, allocations: 160.3 kB / 0.9667 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.817, allocations: 3.558 MB / 0.9701 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/1.824, allocations: 1.803 MB / 0.9719 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/1.846, allocations: 17.92 MB / 0.9894 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007017/1.853, allocations: 480.7 kB / 0.9898 GB, free: 97.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/1.855, allocations: 475 kB / 0.9903 GB, free: 97.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (972): * Single equations (assignments): 968 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001281/1.856, allocations: 0.7214 MB / 0.991 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.857, allocations: 0.5245 MB / 0.9915 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/1.874, allocations: 8.807 MB / 1 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/1.874, allocations: 42.16 kB / 1 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/1.874, allocations: 11.38 kB / 1 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.773e-05/1.875, allocations: 19.84 kB / 1 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03566/1.91, allocations: 18.59 MB / 1.018 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-05/1.91, allocations: 8.688 kB / 1.018 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.913, allocations: 488.5 kB / 1.019 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009827/1.922, allocations: 3.103 MB / 1.022 GB, free: 82.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006713/1.923, allocations: 63.88 kB / 1.022 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.942, allocations: 15.58 MB / 1.037 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.942, allocations: 7.938 kB / 1.037 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.963, allocations: 14.03 MB / 1.051 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/1.965, allocations: 0.5577 MB / 1.051 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.966, allocations: 63.95 kB / 1.051 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/1.969, allocations: 211.2 kB / 1.052 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/1.97, allocations: 223.7 kB / 1.052 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.97, allocations: 84.94 kB / 1.052 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004885/1.975, allocations: 3.467 MB / 1.055 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.11e-07/1.975, allocations: 0 / 1.055 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008791/1.984, allocations: 1.672 MB / 1.057 GB, free: 51.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009018/1.985, allocations: 252.2 kB / 1.057 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.012/1.997, allocations: 8.791 MB / 1.066 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.997, allocations: 4.125 kB / 1.066 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004547/2.001, allocations: 3.429 MB / 1.069 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/2.005, allocations: 0.6916 MB / 1.07 GB, free: 38.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/2.029, allocations: 12.85 MB / 1.082 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005926/2.035, allocations: 4.96 MB / 1.087 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006177/2.042, allocations: 2.601 MB / 1.09 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/2.043, allocations: 343.4 kB / 1.09 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/2.043, allocations: 0 / 1.09 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.3609/2.404, allocations: 68.62 MB / 1.157 GB, free: 118.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches