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.001005/0.001005, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008031/0.0008031, allocations: 91.62 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1684/0.1684, allocations: 44.17 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.755e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4717, allocations: 109.1 MB / 0.6082 GB, free: 12.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.472, allocations: 75.97 kB / 0.6083 GB, free: 12.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2531/0.7251, allocations: 105.1 MB / 0.7109 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7251, allocations: 0 / 0.7109 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002118/0.7253, allocations: 108 kB / 0.711 GB, free: 2.387 MB / 0.5105 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.2667/0.9921, allocations: 5.178 MB / 0.7161 GB, free: 115 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9921, allocations: 12.78 kB / 0.7161 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.02, allocations: 6.889 MB / 0.7228 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.039, allocations: 7.175 MB / 0.7298 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/1.04, allocations: 371.5 kB / 0.7302 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002265/1.042, allocations: 0.4971 MB / 0.7307 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/1.065, allocations: 12.25 MB / 0.7426 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/1.065, allocations: 80.81 kB / 0.7427 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006453/1.066, allocations: 236.2 kB / 0.7429 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/1.067, allocations: 1.144 MB / 0.744 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/1.084, allocations: 10.13 MB / 0.7539 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05005/1.134, allocations: 55.66 MB / 0.8083 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/1.146, allocations: 5.667 MB / 0.8138 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/1.149, allocations: 2.832 MB / 0.8166 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.16, allocations: 8.788 MB / 0.8252 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.16, allocations: 59.44 kB / 0.8252 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=206): time 5.129e-06/1.16, allocations: 0 / 0.8252 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=265): time 0.08715/1.247, allocations: 29.31 MB / 0.8538 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.247, allocations: 205.9 kB / 0.854 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007446/1.255, allocations: 4.152 MB / 0.8581 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005837/1.255, allocations: 61.7 kB / 0.8582 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/1.258, allocations: 3.598 MB / 0.8617 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.259, allocations: 0.9786 MB / 0.8626 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/1.259, allocations: 132 kB / 0.8628 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002848/1.26, allocations: 0.5911 MB / 0.8633 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.263, allocations: 2.95 MB / 0.8662 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005604/1.269, allocations: 6.759 MB / 0.8728 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005882/1.275, allocations: 4.425 MB / 0.8771 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/1.275, allocations: 40 kB / 0.8772 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02265/1.298, allocations: 12.96 MB / 0.8898 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.298, allocations: 67.95 kB / 0.8899 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/1.298, allocations: 135.9 kB / 0.89 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/1.309, allocations: 4.077 MB / 0.894 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005222/1.314, allocations: 1.419 MB / 0.8954 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3093/1.624, allocations: 25.79 MB / 0.9206 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/1.63, allocations: 401 kB / 0.921 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/1.631, allocations: 399.8 kB / 0.9213 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (763): * Single equations (assignments): 757 * 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.001145/1.632, allocations: 0.6044 MB / 0.9219 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000859/1.633, allocations: 445.3 kB / 0.9224 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/1.65, allocations: 8.062 MB / 0.9302 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.22e-05/1.651, allocations: 28.52 kB / 0.9303 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/1.651, allocations: 13.78 kB / 0.9303 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/1.651, allocations: 27.39 kB / 0.9303 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/1.679, allocations: 16.64 MB / 0.9465 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-05/1.679, allocations: 5.875 kB / 0.9465 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.681, allocations: 300.2 kB / 0.9468 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009939/1.691, allocations: 3.767 MB / 0.9505 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000565/1.691, allocations: 47.02 kB / 0.9506 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/1.718, allocations: 24.57 MB / 0.9745 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.718, allocations: 7.438 kB / 0.9746 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.736, allocations: 12.56 MB / 0.9868 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.737, allocations: 490 kB / 0.9873 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/1.738, allocations: 55 kB / 0.9873 GB, free: 91.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.74, allocations: 160 kB / 0.9875 GB, free: 91.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006435/1.741, allocations: 193.1 kB / 0.9877 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.741, allocations: 81.83 kB / 0.9877 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003877/1.745, allocations: 2.927 MB / 0.9906 GB, free: 90.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/1.745, allocations: 0 / 0.9906 GB, free: 90.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00566/1.75, allocations: 1.429 MB / 0.992 GB, free: 89.97 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 (161): * Single equations (assignments): 155 * 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.0005061/1.751, allocations: 192.6 kB / 0.9922 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.762, allocations: 8.028 MB / 1 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.762, allocations: 0 / 1 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004732/1.767, allocations: 3.422 MB / 1.003 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.77, allocations: 0.5543 MB / 1.004 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.787, allocations: 10.35 MB / 1.014 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.791, allocations: 4.031 MB / 1.018 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004596/1.796, allocations: 2.025 MB / 1.02 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/1.797, allocations: 289.3 kB / 1.02 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/1.797, allocations: 0 / 1.02 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.09689/1.893, allocations: 66.08 MB / 1.085 GB, free: 13.06 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