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.001176/0.001176, allocations: 183.2 kB / 15.76 MB, free: 6.367 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.563/1.563, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001085/0.001085, allocations: 90.84 kB / 270.2 MB, free: 13.36 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.2057/0.2057, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003005, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4852, allocations: 115.4 MB / 0.5915 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4854, allocations: 76.59 kB / 0.5915 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.613/1.098, allocations: 143 MB / 0.7312 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.444e-06/1.098, allocations: 2.469 kB / 0.7312 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003181/1.099, allocations: 129.9 kB / 0.7313 GB, free: 105.8 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.02075/1.12, allocations: 7.299 MB / 0.7385 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.12, allocations: 10.47 kB / 0.7385 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/1.153, allocations: 9.32 MB / 0.7476 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/1.175, allocations: 9.18 MB / 0.7565 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/1.175, allocations: 485.1 kB / 0.757 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/1.178, allocations: 0.6275 MB / 0.7576 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/1.21, allocations: 15.66 MB / 0.7729 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/1.211, allocations: 75.62 kB / 0.773 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008911/1.212, allocations: 305.3 kB / 0.7733 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/1.213, allocations: 1.384 MB / 0.7746 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/1.238, allocations: 12.9 MB / 0.7872 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0733/1.311, allocations: 64.46 MB / 0.8502 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/1.326, allocations: 6.277 MB / 0.8563 GB, free: 35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01722/1.343, allocations: 11.16 MB / 0.8672 GB, free: 23.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.343, allocations: 68.44 kB / 0.8673 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 5.28e-06/1.343, allocations: 0 / 0.8673 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.129/1.472, allocations: 37.36 MB / 0.9037 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/1.473, allocations: 247.8 kB / 0.904 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3099/1.782, allocations: 5.001 MB / 0.9089 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.783, allocations: 74.27 kB / 0.9089 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003881/1.787, allocations: 4.48 MB / 0.9133 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.789, allocations: 1.234 MB / 0.9145 GB, free: 111 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006236/1.79, allocations: 163.5 kB / 0.9147 GB, free: 111 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000488/1.79, allocations: 0.651 MB / 0.9153 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00608/1.796, allocations: 3.605 MB / 0.9188 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008061/1.804, allocations: 8.144 MB / 0.9268 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/1.813, allocations: 5.317 MB / 0.932 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/1.813, allocations: 44.33 kB / 0.932 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02888/1.842, allocations: 14.75 MB / 0.9464 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000259/1.842, allocations: 70.28 kB / 0.9465 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003042/1.842, allocations: 159.4 kB / 0.9466 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/1.854, allocations: 3.572 MB / 0.9501 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/1.861, allocations: 1.799 MB / 0.9519 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.887, allocations: 18.65 MB / 0.9701 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008633/1.895, allocations: 487.6 kB / 0.9706 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/1.897, allocations: 472.2 kB / 0.971 GB, free: 94.59 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 () * Number of clocked 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.007749/1.905, allocations: 3.12 MB / 0.9741 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.907, allocations: 0.5264 MB / 0.9746 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.925, allocations: 8.901 MB / 0.9833 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-05/1.925, allocations: 34.03 kB / 0.9833 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/1.925, allocations: 15 kB / 0.9833 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/1.925, allocations: 15.09 kB / 0.9833 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03642/1.962, allocations: 18.67 MB / 1.002 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-05/1.962, allocations: 7.312 kB / 1.002 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.964, allocations: 486.6 kB / 1.002 GB, free: 82.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/1.975, allocations: 3.126 MB / 1.005 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008155/1.976, allocations: 60 kB / 1.005 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/1.996, allocations: 16.32 MB / 1.021 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.996, allocations: 15.64 kB / 1.021 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/2.019, allocations: 14.15 MB / 1.035 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003606/2.022, allocations: 1.093 MB / 1.036 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009644/2.023, allocations: 59.75 kB / 1.036 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/2.026, allocations: 202.7 kB / 1.036 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000679/2.027, allocations: 221.9 kB / 1.036 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/2.027, allocations: 92.22 kB / 1.037 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006497/2.034, allocations: 3.551 MB / 1.04 GB, free: 52.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/2.034, allocations: 4 kB / 1.04 GB, free: 52.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01039/2.044, allocations: 1.685 MB / 1.042 GB, free: 50.42 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 () * Number of clocked 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.001064/2.045, allocations: 244.2 kB / 1.042 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0141/2.059, allocations: 8.913 MB / 1.051 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.059, allocations: 5.812 kB / 1.051 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/2.064, allocations: 3.49 MB / 1.054 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/2.069, allocations: 0.6936 MB / 1.055 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/2.097, allocations: 17.92 MB / 1.072 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007152/2.104, allocations: 4.968 MB / 1.077 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007163/2.111, allocations: 2.601 MB / 1.08 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/2.112, allocations: 347.4 kB / 1.08 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/2.112, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.352/2.465, allocations: 68.8 MB / 1.147 GB, free: 107.6 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