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.001004/0.001004, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.353/1.353, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008052/0.0008055, allocations: 96.75 kB / 271.9 MB, free: 8.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.3171/0.3171, allocations: 43.56 MB / 363.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 12 kB / 432.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4845, allocations: 115.6 MB / 0.5928 GB, free: 2.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4848, allocations: 83.97 kB / 0.5929 GB, free: 2.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5896/1.074, allocations: 140.7 MB / 0.7304 GB, free: 86.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.074, allocations: 0 / 0.7304 GB, free: 86.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003935/1.075, allocations: 126.2 kB / 0.7305 GB, free: 86.53 MB / 490.7 MB 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.0224/1.097, allocations: 7.057 MB / 0.7374 GB, free: 83.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.097, allocations: 7.812 kB / 0.7374 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/1.125, allocations: 6.867 MB / 0.7441 GB, free: 82.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/1.144, allocations: 7.928 MB / 0.7518 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/1.144, allocations: 490.8 kB / 0.7523 GB, free: 79.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/1.148, allocations: 0.627 MB / 0.7529 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/1.185, allocations: 15.48 MB / 0.768 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004822/1.186, allocations: 89.5 kB / 0.7681 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/1.189, allocations: 301.1 kB / 0.7684 GB, free: 71.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/1.191, allocations: 1.384 MB / 0.7698 GB, free: 70.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/1.217, allocations: 12.68 MB / 0.7821 GB, free: 65.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07446/1.292, allocations: 64.35 MB / 0.845 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/1.309, allocations: 6.19 MB / 0.851 GB, free: 9.492 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004777/1.314, allocations: 3.158 MB / 0.8541 GB, free: 6.328 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2773/1.591, allocations: 11.08 MB / 0.8649 GB, free: 94.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.591, allocations: 59.22 kB / 0.865 GB, free: 94.36 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=245): time 5.52e-06/1.591, allocations: 0 / 0.865 GB, free: 94.36 MB / 0.4949 GB Notification: Performance of matching and sorting (n=337): time 0.1187/1.71, allocations: 36.81 MB / 0.9009 GB, free: 90.65 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/1.71, allocations: 249.5 kB / 0.9012 GB, free: 90.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009844/1.72, allocations: 5.636 MB / 0.9067 GB, free: 89.95 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007842/1.721, allocations: 75.73 kB / 0.9067 GB, free: 89.92 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/1.723, allocations: 4.476 MB / 0.9111 GB, free: 87.1 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.724, allocations: 1.231 MB / 0.9123 GB, free: 86.19 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/1.725, allocations: 167.2 kB / 0.9125 GB, free: 86.06 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003203/1.725, allocations: 0.6513 MB / 0.9131 GB, free: 85.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/1.73, allocations: 3.601 MB / 0.9166 GB, free: 84.27 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006628/1.737, allocations: 8.179 MB / 0.9246 GB, free: 76.88 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.749, allocations: 12.74 MB / 0.9371 GB, free: 67.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/1.75, allocations: 47.22 kB / 0.9371 GB, free: 67.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03044/1.78, allocations: 14.75 MB / 0.9515 GB, free: 61.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.78, allocations: 74.16 kB / 0.9516 GB, free: 61.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.78, allocations: 158.1 kB / 0.9517 GB, free: 61.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/1.791, allocations: 3.555 MB / 0.9552 GB, free: 61.13 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.797, allocations: 1.802 MB / 0.957 GB, free: 60.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/1.82, allocations: 18 MB / 0.9745 GB, free: 52.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007374/1.828, allocations: 492.7 kB / 0.975 GB, free: 51.78 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.829, allocations: 467.7 kB / 0.9755 GB, free: 51.32 MB / 0.4949 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.006449/1.836, allocations: 3.126 MB / 0.9785 GB, free: 48.57 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.837, allocations: 0.5245 MB / 0.979 GB, free: 48.04 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.854, allocations: 8.896 MB / 0.9877 GB, free: 41.07 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/1.854, allocations: 37.56 kB / 0.9877 GB, free: 41.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/1.854, allocations: 12 kB / 0.9878 GB, free: 41.02 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/1.854, allocations: 22.33 kB / 0.9878 GB, free: 41.02 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03525/1.89, allocations: 18.68 MB / 1.006 GB, free: 25.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/1.89, allocations: 8.719 kB / 1.006 GB, free: 25.94 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/1.892, allocations: 491.6 kB / 1.006 GB, free: 25.54 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009971/1.902, allocations: 3.117 MB / 1.01 GB, free: 23.47 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007125/1.903, allocations: 60 kB / 1.01 GB, free: 23.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/1.923, allocations: 15.69 MB / 1.025 GB, free: 8.203 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.923, allocations: 8 kB / 1.025 GB, free: 8.195 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/1.946, allocations: 13.26 MB / 1.038 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/1.949, allocations: 1.096 MB / 1.039 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.951, allocations: 56.94 kB / 1.039 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.954, allocations: 203.7 kB / 1.039 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007126/1.954, allocations: 222.2 kB / 1.039 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/1.955, allocations: 88 kB / 1.039 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007419/1.962, allocations: 3.552 MB / 1.043 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/1.962, allocations: 0 / 1.043 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0108/1.973, allocations: 1.68 MB / 1.045 GB, free: 3.887 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.001001/1.974, allocations: 247.5 kB / 1.045 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2403/2.214, allocations: 8.921 MB / 1.054 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/2.214, allocations: 4.656 kB / 1.054 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/2.22, allocations: 3.48 MB / 1.057 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/2.231, allocations: 0.7313 MB / 1.058 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.262, allocations: 18.76 MB / 1.076 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006848/2.269, allocations: 4.832 MB / 1.081 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/2.27, allocations: 408.1 kB / 1.081 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/2.27, allocations: 0 / 1.081 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.168/2.438, allocations: 120.6 MB / 1.199 GB, free: 50.92 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