Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 91.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.302/0.302, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.615e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4734, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.6799, allocations: 106.5 MB / 0.5699 GB, free: 8.734 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6803, allocations: 79.45 kB / 0.57 GB, free: 8.66 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8605/1.541, allocations: 101.6 MB / 0.6692 GB, free: 107.8 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.104e-06/1.541, allocations: 0 / 0.6692 GB, free: 107.8 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004051/1.541, allocations: 100.3 kB / 0.6693 GB, free: 107.8 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02238/1.564, allocations: 5.209 MB / 0.6744 GB, free: 105.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.564, allocations: 11.22 kB / 0.6744 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04816/1.612, allocations: 6.891 MB / 0.6811 GB, free: 105.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02679/1.639, allocations: 7.49 MB / 0.6884 GB, free: 103.6 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/1.639, allocations: 163.5 kB / 0.6886 GB, free: 103.6 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/1.642, allocations: 292.1 kB / 0.6889 GB, free: 103.6 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01744/1.659, allocations: 7.047 MB / 0.6958 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.688, allocations: 10.81 MB / 0.7063 GB, free: 95.28 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004014/1.689, allocations: 74.5 kB / 0.7064 GB, free: 95.24 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002602/1.691, allocations: 36.47 kB / 0.7064 GB, free: 95.24 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/1.694, allocations: 1.147 MB / 0.7075 GB, free: 95.02 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07752/1.772, allocations: 54.05 MB / 0.7603 GB, free: 42.89 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/1.779, allocations: 4.318 MB / 0.7645 GB, free: 38.42 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/1.784, allocations: 2.748 MB / 0.7672 GB, free: 35.66 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.785, allocations: 0.5683 MB / 0.7678 GB, free: 35.02 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.785, allocations: 52.16 kB / 0.7678 GB, free: 34.96 MB / 475.1 MB Notification: Performance of pre-optimization done (n=213): time 7.674e-06/1.785, allocations: 0 / 0.7678 GB, free: 34.96 MB / 475.1 MB Notification: Performance of matching and sorting (n=272): time 0.1133/1.898, allocations: 27.03 MB / 0.7942 GB, free: 7.93 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/1.899, allocations: 205.9 kB / 0.7944 GB, free: 7.688 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/1.907, allocations: 3.62 MB / 0.798 GB, free: 4.055 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007309/1.907, allocations: 33.64 kB / 0.798 GB, free: 4.016 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.91, allocations: 3.545 MB / 0.8015 GB, free: 432 kB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.912, allocations: 0.975 MB / 0.8024 GB, free: 15.43 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009165/1.913, allocations: 0 / 0.8024 GB, free: 15.43 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.0006909/1.914, allocations: 0.6003 MB / 0.803 GB, free: 14.82 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007624/1.922, allocations: 2.884 MB / 0.8058 GB, free: 11.94 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/1.934, allocations: 6.795 MB / 0.8124 GB, free: 3.18 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.945, allocations: 4.373 MB / 0.8167 GB, free: 14.81 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/1.945, allocations: 44 kB / 0.8168 GB, free: 14.77 MB / 0.4952 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0438/1.989, allocations: 12 MB / 0.8285 GB, free: 2.754 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.989, allocations: 64 kB / 0.8285 GB, free: 2.691 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/1.989, allocations: 147.9 kB / 0.8287 GB, free: 2.551 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3827/2.372, allocations: 3.965 MB / 0.8325 GB, free: 119.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009999/2.382, allocations: 1.475 MB / 0.834 GB, free: 119.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06099/2.443, allocations: 24.32 MB / 0.8577 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/2.452, allocations: 273.3 kB / 0.858 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/2.454, allocations: 418.7 kB / 0.8584 GB, free: 113.1 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (794): * Single equations (assignments): 788 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002401/2.456, allocations: 461.7 kB / 0.8588 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/2.458, allocations: 419.1 kB / 0.8592 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/2.485, allocations: 7.739 MB / 0.8668 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/2.485, allocations: 26.56 kB / 0.8668 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/2.485, allocations: 16.34 kB / 0.8668 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-05/2.486, allocations: 15.94 kB / 0.8669 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0483/2.534, allocations: 15.76 MB / 0.8823 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/2.534, allocations: 6.75 kB / 0.8823 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/2.537, allocations: 311.6 kB / 0.8826 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01856/2.555, allocations: 3.668 MB / 0.8861 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006743/2.556, allocations: 10.69 kB / 0.8861 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04838/2.605, allocations: 23.08 MB / 0.9087 GB, free: 92.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/2.605, allocations: 8.125 kB / 0.9087 GB, free: 92.3 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03451/2.639, allocations: 12.29 MB / 0.9207 GB, free: 86.16 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/2.643, allocations: 0.9139 MB / 0.9216 GB, free: 85.31 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/2.644, allocations: 9.938 kB / 0.9216 GB, free: 85.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004554/2.649, allocations: 126.7 kB / 0.9217 GB, free: 85.23 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.65, allocations: 196.6 kB / 0.9219 GB, free: 85.11 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/2.65, allocations: 79.08 kB / 0.922 GB, free: 85.04 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.006247/2.657, allocations: 2.452 MB / 0.9244 GB, free: 82.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.61e-07/2.657, allocations: 3.812 kB / 0.9244 GB, free: 82.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01166/2.668, allocations: 1.235 MB / 0.9256 GB, free: 81.68 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 162 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/2.67, allocations: 166.8 kB / 0.9257 GB, free: 81.53 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.019/2.689, allocations: 7.761 MB / 0.9333 GB, free: 74.57 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.689, allocations: 0 / 0.9333 GB, free: 74.57 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.008756/2.697, allocations: 3.356 MB / 0.9366 GB, free: 71.53 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/2.702, allocations: 461.3 kB / 0.937 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/2.73, allocations: 10.87 MB / 0.9477 GB, free: 61.51 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008766/2.739, allocations: 4.057 MB / 0.9516 GB, free: 58.49 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/2.741, allocations: 314.1 kB / 0.9519 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of SimCode: time 1.723e-06/2.741, allocations: 0 / 0.9519 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of Templates: time 0.641/3.382, allocations: 133.1 MB / 1.082 GB, free: 116.1 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches