Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001023/0.001022, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008248/0.0008247, allocations: 86.16 kB / 261.7 MB, free: 1.688 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.2036/0.2036, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.342e-05, allocations: 4 kB / 418.3 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 58.85 MB / 477.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5654, allocations: 106.5 MB / 0.57 GB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5657, allocations: 79.66 kB / 0.57 GB, free: 5.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2583/0.824, allocations: 101.6 MB / 0.6692 GB, free: 7.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.824, allocations: 0 / 0.6692 GB, free: 7.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.8244, allocations: 100 kB / 0.6693 GB, free: 7.562 MB / 474.7 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.019/0.8434, allocations: 5.202 MB / 0.6744 GB, free: 2.289 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.8434, allocations: 8.031 kB / 0.6744 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02702/0.8705, allocations: 6.9 MB / 0.6812 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/0.8897, allocations: 7.481 MB / 0.6885 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.8901, allocations: 164.3 kB / 0.6886 GB, free: 3.637 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/0.8923, allocations: 311.8 kB / 0.6889 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01455/0.9069, allocations: 7.04 MB / 0.6958 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.9285, allocations: 10.81 MB / 0.7063 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/0.9288, allocations: 75.3 kB / 0.7064 GB, free: 288 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006453/0.9295, allocations: 40 kB / 0.7065 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3167/1.246, allocations: 1.134 MB / 0.7076 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/1.31, allocations: 54.04 MB / 0.7603 GB, free: 83.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004745/1.315, allocations: 4.333 MB / 0.7646 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/1.318, allocations: 2.74 MB / 0.7672 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/1.318, allocations: 0.5669 MB / 0.7678 GB, free: 82.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.318, allocations: 59.16 kB / 0.7679 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=213): time 4.809e-06/1.318, allocations: 0 / 0.7679 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272): time 0.05873/1.377, allocations: 27.02 MB / 0.7942 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.377, allocations: 215.5 kB / 0.7944 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/1.382, allocations: 3.614 MB / 0.798 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005115/1.383, allocations: 25.7 kB / 0.798 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/1.385, allocations: 3.648 MB / 0.8016 GB, free: 69.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008525/1.385, allocations: 0.9688 MB / 0.8025 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.386, allocations: 3.594 kB / 0.8025 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002772/1.386, allocations: 0.6013 MB / 0.8031 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/1.389, allocations: 2.883 MB / 0.8059 GB, free: 67.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/1.394, allocations: 6.799 MB / 0.8126 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004581/1.398, allocations: 4.368 MB / 0.8168 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.312e-05/1.398, allocations: 39.66 kB / 0.8169 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01962/1.418, allocations: 12.15 MB / 0.8287 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/1.418, allocations: 66.06 kB / 0.8288 GB, free: 51.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/1.418, allocations: 140 kB / 0.8289 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009822/1.428, allocations: 3.964 MB / 0.8328 GB, free: 48.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.433, allocations: 1.48 MB / 0.8342 GB, free: 47.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/1.46, allocations: 24.33 MB / 0.858 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/1.465, allocations: 272.3 kB / 0.8583 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.466, allocations: 410.6 kB / 0.8587 GB, free: 25.59 MB / 0.4948 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.0009893/1.467, allocations: 465.9 kB / 0.8591 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/1.468, allocations: 414.7 kB / 0.8595 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.482, allocations: 7.752 MB / 0.8671 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/1.482, allocations: 28 kB / 0.8671 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/1.482, allocations: 16 kB / 0.8671 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/1.482, allocations: 15.02 kB / 0.8671 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.507, allocations: 15.75 MB / 0.8825 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.507, allocations: 4 kB / 0.8825 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.509, allocations: 316 kB / 0.8828 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009146/1.518, allocations: 3.676 MB / 0.8864 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005046/1.519, allocations: 8 kB / 0.8864 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4105/1.929, allocations: 23.08 MB / 0.9089 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/1.929, allocations: 6.844 kB / 0.909 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/1.955, allocations: 12.3 MB / 0.921 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/1.958, allocations: 0.9136 MB / 0.9219 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000992/1.959, allocations: 7.812 kB / 0.9219 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.961, allocations: 125.9 kB / 0.922 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008043/1.962, allocations: 202.3 kB / 0.9222 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.962, allocations: 73.75 kB / 0.9222 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00399/1.966, allocations: 2.455 MB / 0.9246 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/1.966, allocations: 0 / 0.9246 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007772/1.974, allocations: 1.241 MB / 0.9259 GB, free: 116.7 MB / 0.5105 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.0006807/1.975, allocations: 156.3 kB / 0.926 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.988, allocations: 7.765 MB / 0.9336 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.988, allocations: 3.828 kB / 0.9336 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005927/1.994, allocations: 3.363 MB / 0.9369 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/1.998, allocations: 459.4 kB / 0.9373 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/2.018, allocations: 10.28 MB / 0.9474 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005016/2.024, allocations: 4.044 MB / 0.9513 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005404/2.029, allocations: 2.1 MB / 0.9534 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008862/2.03, allocations: 266.3 kB / 0.9536 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.444e-06/2.03, allocations: 3.719 kB / 0.9536 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.09681/2.127, allocations: 60.36 MB / 1.013 GB, free: 82.75 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches