Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002218/0.002217, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0011/0.001099, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.177e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5509/0.6722, allocations: 115.3 MB / 0.5854 GB, free: 4.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.6726, allocations: 81.3 kB / 0.5855 GB, free: 4.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9479/1.62, allocations: 143.1 MB / 0.7252 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.425e-06/1.621, allocations: 8.469 kB / 0.7252 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006242/1.621, allocations: 133.9 kB / 0.7254 GB, free: 103.2 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03076/1.652, allocations: 6.646 MB / 0.7319 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.652, allocations: 7.375 kB / 0.7319 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06767/1.72, allocations: 9.335 MB / 0.741 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03355/1.753, allocations: 9.141 MB / 0.7499 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005855/1.754, allocations: 481.9 kB / 0.7504 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003408/1.757, allocations: 0.631 MB / 0.751 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04852/1.806, allocations: 15.53 MB / 0.7662 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004572/1.806, allocations: 84.44 kB / 0.7662 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/1.809, allocations: 301.8 kB / 0.7665 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003209/1.813, allocations: 1.391 MB / 0.7679 GB, free: 96.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04164/1.854, allocations: 12.71 MB / 0.7803 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1059/1.96, allocations: 64.46 MB / 0.8432 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02916/1.989, allocations: 6.233 MB / 0.8493 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006321/1.996, allocations: 3.115 MB / 0.8524 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0281/2.024, allocations: 11.18 MB / 0.8633 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/2.024, allocations: 64.17 kB / 0.8633 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.863e-06/2.024, allocations: 0 / 0.8633 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.1746/2.199, allocations: 29.66 MB / 0.8923 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/2.199, allocations: 247.8 kB / 0.8925 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/2.214, allocations: 4.947 MB / 0.8974 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.215, allocations: 77.7 kB / 0.8974 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005328/2.22, allocations: 4.278 MB / 0.9016 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3691/2.59, allocations: 1.235 MB / 0.9028 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/2.591, allocations: 164.3 kB / 0.903 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008612/2.592, allocations: 0.6551 MB / 0.9036 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/2.603, allocations: 3.531 MB / 0.9071 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01447/2.617, allocations: 8.072 MB / 0.915 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/2.632, allocations: 5.288 MB / 0.9201 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004035/2.632, allocations: 50.39 kB / 0.9202 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.05191/2.684, allocations: 14.38 MB / 0.9342 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/2.685, allocations: 79.14 kB / 0.9343 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002644/2.685, allocations: 155.9 kB / 0.9344 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/2.706, allocations: 3.563 MB / 0.9379 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/2.718, allocations: 1.797 MB / 0.9397 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04425/2.762, allocations: 17.91 MB / 0.9572 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.773, allocations: 489.1 kB / 0.9576 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/2.775, allocations: 474.2 kB / 0.9581 GB, free: 96.9 MB / 0.5105 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.003541/2.779, allocations: 0.7041 MB / 0.9588 GB, free: 96.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.78, allocations: 0.5321 MB / 0.9593 GB, free: 96.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/2.814, allocations: 8.825 MB / 0.9679 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.122e-05/2.814, allocations: 39.34 kB / 0.9679 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/2.814, allocations: 14.28 kB / 0.968 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-05/2.814, allocations: 14.39 kB / 0.968 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06374/2.878, allocations: 18.58 MB / 0.9861 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/2.878, allocations: 5.656 kB / 0.9861 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/2.883, allocations: 495.6 kB / 0.9866 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01971/2.902, allocations: 3.096 MB / 0.9896 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008577/2.903, allocations: 66.97 kB / 0.9897 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03763/2.941, allocations: 15.59 MB / 1.005 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/2.941, allocations: 11.94 kB / 1.005 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0579/2.999, allocations: 14.04 MB / 1.019 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006281/3.005, allocations: 1.098 MB / 1.02 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003042/3.008, allocations: 63.39 kB / 1.02 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008876/3.017, allocations: 212.7 kB / 1.02 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/3.019, allocations: 219.9 kB / 1.02 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/3.021, allocations: 91.98 kB / 1.02 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01436/3.035, allocations: 3.492 MB / 1.024 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.422e-06/3.035, allocations: 2.406 kB / 1.024 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01733/3.053, allocations: 1.681 MB / 1.025 GB, free: 59.48 MB / 0.5105 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.002016/3.055, allocations: 249.8 kB / 1.026 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02632/3.081, allocations: 8.78 MB / 1.034 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/3.081, allocations: 4 kB / 1.034 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/3.089, allocations: 3.439 MB / 1.037 GB, free: 48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006152/3.095, allocations: 0.6912 MB / 1.038 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/3.134, allocations: 13.65 MB / 1.051 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/3.146, allocations: 4.97 MB / 1.056 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/3.149, allocations: 405.6 kB / 1.057 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/3.149, allocations: 0 / 1.057 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.6165/3.765, allocations: 116.7 MB / 1.171 GB, free: 86.88 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches