Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 83.62 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1926/0.1926, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.407e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5344, allocations: 108.4 MB / 0.6005 GB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5347, allocations: 75.95 kB / 0.6006 GB, free: 4.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5397/1.074, allocations: 102.8 MB / 0.701 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.284e-06/1.074, allocations: 0 / 0.701 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003763/1.075, allocations: 102.3 kB / 0.7011 GB, free: 107.3 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0173/1.092, allocations: 5.196 MB / 0.7062 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.092, allocations: 13.48 kB / 0.7062 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02895/1.121, allocations: 6.892 MB / 0.7129 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02243/1.144, allocations: 7.165 MB / 0.7199 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/1.144, allocations: 159.2 kB / 0.7201 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/1.147, allocations: 297.3 kB / 0.7203 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01224/1.159, allocations: 7.048 MB / 0.7272 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.181, allocations: 10.8 MB / 0.7378 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.181, allocations: 76.05 kB / 0.7378 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.183, allocations: 39.72 kB / 0.7379 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/1.184, allocations: 1.146 MB / 0.739 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/1.236, allocations: 54 MB / 0.7917 GB, free: 63.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/1.242, allocations: 4.338 MB / 0.796 GB, free: 61.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003148/1.246, allocations: 2.757 MB / 0.7987 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/1.246, allocations: 0.5636 MB / 0.7992 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.246, allocations: 63.12 kB / 0.7993 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=213): time 6.452e-06/1.246, allocations: 0 / 0.7993 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272): time 0.06079/1.307, allocations: 26.9 MB / 0.8255 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.307, allocations: 213.4 kB / 0.8257 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005819/1.313, allocations: 3.576 MB / 0.8292 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008806/1.314, allocations: 29.7 kB / 0.8293 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002783/1.317, allocations: 3.643 MB / 0.8328 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.319, allocations: 0.9716 MB / 0.8338 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/1.319, allocations: 0 / 0.8338 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003553/1.319, allocations: 0.6024 MB / 0.8344 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/1.323, allocations: 2.88 MB / 0.8372 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/1.328, allocations: 6.805 MB / 0.8438 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/1.333, allocations: 4.373 MB / 0.8481 GB, free: 18.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-05/1.333, allocations: 40 kB / 0.8481 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0236/1.357, allocations: 12.14 MB / 0.86 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.739e-05/1.357, allocations: 65.91 kB / 0.86 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.357, allocations: 155.7 kB / 0.8602 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/1.368, allocations: 3.963 MB / 0.8641 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005045/1.373, allocations: 1.482 MB / 0.8655 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03424/1.407, allocations: 24.34 MB / 0.8893 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.413, allocations: 263.4 kB / 0.8895 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.415, allocations: 415.9 kB / 0.8899 GB, free: 9.676 MB / 0.5261 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.001414/1.416, allocations: 476.8 kB / 0.8904 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.417, allocations: 410.8 kB / 0.8908 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.434, allocations: 7.735 MB / 0.8983 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/1.434, allocations: 32 kB / 0.8984 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.434, allocations: 12 kB / 0.8984 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/1.434, allocations: 11.95 kB / 0.8984 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3467/1.781, allocations: 15.75 MB / 0.9138 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.781, allocations: 4.719 kB / 0.9138 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.782, allocations: 311.1 kB / 0.9141 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.794, allocations: 3.666 MB / 0.9176 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008009/1.795, allocations: 10.06 kB / 0.9176 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/1.823, allocations: 23.09 MB / 0.9402 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.823, allocations: 6.938 kB / 0.9402 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/1.842, allocations: 12.29 MB / 0.9522 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.843, allocations: 444.3 kB / 0.9526 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008635/1.844, allocations: 11.08 kB / 0.9526 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.847, allocations: 127 kB / 0.9528 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006734/1.847, allocations: 203.6 kB / 0.953 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.848, allocations: 68.5 kB / 0.953 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004164/1.852, allocations: 2.431 MB / 0.9554 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/1.852, allocations: 0 / 0.9554 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007936/1.86, allocations: 1.24 MB / 0.9566 GB, free: 109.9 MB / 0.5261 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.0007501/1.86, allocations: 163.3 kB / 0.9568 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.874, allocations: 7.759 MB / 0.9643 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.874, allocations: 0 / 0.9643 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00558/1.88, allocations: 3.363 MB / 0.9676 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.883, allocations: 465.1 kB / 0.9681 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.905, allocations: 10.25 MB / 0.9781 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/1.909, allocations: 4.04 MB / 0.982 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005336/1.915, allocations: 2.095 MB / 0.9841 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008696/1.916, allocations: 273.7 kB / 0.9843 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of SimCode: time 8.12e-07/1.916, allocations: 0 / 0.9843 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.09238/2.008, allocations: 60.28 MB / 1.043 GB, free: 52.16 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches