Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009494/0.0009493, allocations: 179.6 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.242/1.242, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008626/0.0008627, allocations: 88.03 kB / 287 MB, free: 236 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.1686/0.1686, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.526e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4774, allocations: 108.4 MB / 0.6076 GB, free: 12.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4777, allocations: 71.97 kB / 0.6077 GB, free: 12.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.7156, allocations: 96.49 MB / 0.7019 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7156, allocations: 0 / 0.7019 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001864/0.7158, allocations: 91.98 kB / 0.702 GB, free: 11.6 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01148/0.7273, allocations: 4.601 MB / 0.7065 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7274, allocations: 8.031 kB / 0.7065 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/0.7533, allocations: 6.741 MB / 0.7131 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2767/1.03, allocations: 5.985 MB / 0.7189 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/1.031, allocations: 330.6 kB / 0.7192 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/1.033, allocations: 440.4 kB / 0.7196 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/1.058, allocations: 10.98 MB / 0.7304 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/1.058, allocations: 70.31 kB / 0.7304 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007516/1.059, allocations: 208.3 kB / 0.7306 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/1.06, allocations: 1.02 MB / 0.7316 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/1.078, allocations: 9.161 MB / 0.7406 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/1.127, allocations: 47.61 MB / 0.7871 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.138, allocations: 4.096 MB / 0.7911 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.14, allocations: 1.798 MB / 0.7928 GB, free: 82.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/1.151, allocations: 7.478 MB / 0.8001 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.151, allocations: 61.98 kB / 0.8002 GB, free: 78.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 4.539e-06/1.151, allocations: 0 / 0.8002 GB, free: 78.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.0781/1.229, allocations: 25.6 MB / 0.8252 GB, free: 68.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/1.229, allocations: 208.9 kB / 0.8254 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007173/1.236, allocations: 3.748 MB / 0.829 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005599/1.237, allocations: 61.7 kB / 0.8291 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.239, allocations: 3.228 MB / 0.8322 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.24, allocations: 0.8737 MB / 0.8331 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007012/1.241, allocations: 124 kB / 0.8332 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002773/1.241, allocations: 0.5763 MB / 0.8338 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.245, allocations: 3.365 MB / 0.8371 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/1.25, allocations: 6.987 MB / 0.8439 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005634/1.256, allocations: 4.747 MB / 0.8485 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/1.256, allocations: 36 kB / 0.8486 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03382/1.29, allocations: 15.34 MB / 0.8635 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.29, allocations: 60 kB / 0.8636 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/1.29, allocations: 128 kB / 0.8637 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02051/1.311, allocations: 5.933 MB / 0.8695 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.315, allocations: 1.431 MB / 0.8709 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.344, allocations: 24.96 MB / 0.8953 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/1.35, allocations: 399.3 kB / 0.8957 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.351, allocations: 382.1 kB / 0.896 GB, free: 15.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (746): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001988/1.353, allocations: 0.572 MB / 0.8966 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.354, allocations: 394.8 kB / 0.897 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/1.384, allocations: 10.77 MB / 0.9075 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/1.384, allocations: 27.84 kB / 0.9075 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.941e-05/1.384, allocations: 8 kB / 0.9075 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/1.384, allocations: 15.95 kB / 0.9075 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3452/1.729, allocations: 20.13 MB / 0.9272 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/1.729, allocations: 5.625 kB / 0.9272 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.732, allocations: 384 kB / 0.9276 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.751, allocations: 4.99 MB / 0.9324 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005811/1.751, allocations: 45.38 kB / 0.9325 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/1.777, allocations: 20.14 MB / 0.9521 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.777, allocations: 11.03 kB / 0.9522 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02896/1.806, allocations: 14.5 MB / 0.9663 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.807, allocations: 446.4 kB / 0.9667 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.809, allocations: 44.66 kB / 0.9668 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.811, allocations: 168.5 kB / 0.967 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008135/1.812, allocations: 161 kB / 0.9671 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/1.813, allocations: 58.11 kB / 0.9672 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005242/1.818, allocations: 2.639 MB / 0.9697 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/1.818, allocations: 0 / 0.9697 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007668/1.826, allocations: 1.323 MB / 0.971 GB, free: 109.5 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 (167): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008168/1.826, allocations: 188 kB / 0.9712 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.838, allocations: 7.859 MB / 0.9789 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.838, allocations: 4 kB / 0.9789 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.842, allocations: 3.071 MB / 0.9819 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/1.845, allocations: 493.9 kB / 0.9824 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.863, allocations: 9.889 MB / 0.992 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004834/1.868, allocations: 3.61 MB / 0.9955 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006049/1.874, allocations: 1.972 MB / 0.9975 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.875, allocations: 265.7 kB / 0.9977 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/1.876, allocations: 0 / 0.9977 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.09132/1.967, allocations: 63.7 MB / 1.06 GB, free: 45.62 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches