Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00121/0.001209, allocations: 183.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009021/0.000902, allocations: 90.59 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3778/0.3778, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.772e-05, allocations: 3.938 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5154, allocations: 115.3 MB / 0.5854 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5157, allocations: 77.64 kB / 0.5855 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.607/1.123, allocations: 143.1 MB / 0.7253 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.983e-06/1.123, allocations: 0 / 0.7253 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004822/1.123, allocations: 132.5 kB / 0.7254 GB, free: 89.46 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.02149/1.145, allocations: 6.64 MB / 0.7319 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.145, allocations: 9.719 kB / 0.7319 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03426/1.179, allocations: 9.335 MB / 0.741 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.202, allocations: 9.14 MB / 0.7499 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/1.203, allocations: 482.6 kB / 0.7504 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/1.207, allocations: 0.6338 MB / 0.751 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/1.245, allocations: 15.54 MB / 0.7662 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004814/1.246, allocations: 75.75 kB / 0.7662 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002612/1.249, allocations: 301.8 kB / 0.7665 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002031/1.251, allocations: 1.39 MB / 0.7679 GB, free: 81.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02973/1.28, allocations: 12.71 MB / 0.7803 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07973/1.36, allocations: 64.46 MB / 0.8432 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/1.376, allocations: 6.245 MB / 0.8493 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/1.379, allocations: 3.115 MB / 0.8524 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0161/1.396, allocations: 11.18 MB / 0.8633 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.47e-05/1.396, allocations: 60.52 kB / 0.8634 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 5.44e-06/1.396, allocations: 0 / 0.8634 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.094/1.49, allocations: 29.64 MB / 0.8923 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.49, allocations: 251.8 kB / 0.8926 GB, free: 404 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2683/1.758, allocations: 4.944 MB / 0.8974 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008826/1.759, allocations: 75.14 kB / 0.8975 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/1.763, allocations: 4.481 MB / 0.9018 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.764, allocations: 1.234 MB / 0.903 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008155/1.765, allocations: 163.8 kB / 0.9032 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004173/1.766, allocations: 0.648 MB / 0.9038 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/1.771, allocations: 3.532 MB / 0.9073 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006937/1.778, allocations: 8.071 MB / 0.9152 GB, free: 92.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/1.785, allocations: 5.294 MB / 0.9203 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.786, allocations: 47.69 kB / 0.9204 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.0293/1.815, allocations: 14.59 MB / 0.9346 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.815, allocations: 76 kB / 0.9347 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002347/1.815, allocations: 161.8 kB / 0.9348 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.827, allocations: 3.557 MB / 0.9383 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006638/1.833, allocations: 1.798 MB / 0.9401 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/1.857, allocations: 17.92 MB / 0.9576 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/1.864, allocations: 490.3 kB / 0.958 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.866, allocations: 473.3 kB / 0.9585 GB, free: 82.71 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.001689/1.868, allocations: 0.7094 MB / 0.9592 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.869, allocations: 0.5302 MB / 0.9597 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.886, allocations: 8.816 MB / 0.9683 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/1.887, allocations: 33.84 kB / 0.9683 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.887, allocations: 16.72 kB / 0.9684 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.487e-05/1.887, allocations: 18.19 kB / 0.9684 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03519/1.922, allocations: 18.6 MB / 0.9865 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/1.922, allocations: 5.406 kB / 0.9865 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.924, allocations: 491.2 kB / 0.987 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01023/1.935, allocations: 3.098 MB / 0.99 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007642/1.935, allocations: 70.28 kB / 0.9901 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/1.956, allocations: 15.58 MB / 1.005 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.956, allocations: 11.69 kB / 1.005 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/1.978, allocations: 14.04 MB / 1.019 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/1.983, allocations: 1.097 MB / 1.02 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.984, allocations: 59.22 kB / 1.02 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.988, allocations: 208 kB / 1.02 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008788/1.989, allocations: 221 kB / 1.021 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.989, allocations: 87.52 kB / 1.021 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008345/1.997, allocations: 3.496 MB / 1.024 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/1.997, allocations: 0 / 1.024 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01146/2.009, allocations: 1.687 MB / 1.026 GB, free: 49.14 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.001219/2.01, allocations: 250.3 kB / 1.026 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01358/2.024, allocations: 8.78 MB / 1.035 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/2.024, allocations: 4.125 kB / 1.035 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/2.029, allocations: 3.444 MB / 1.038 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/2.034, allocations: 0.6929 MB / 1.039 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/2.061, allocations: 12.89 MB / 1.051 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008746/2.07, allocations: 4.975 MB / 1.056 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007892/2.078, allocations: 2.596 MB / 1.059 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/2.08, allocations: 345.3 kB / 1.059 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of SimCode: time 2.334e-06/2.08, allocations: 0 / 1.059 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.4098/2.49, allocations: 68.75 MB / 1.126 GB, free: 96.37 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches