Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 177.8 kB / 8.36 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.128/2.128, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00112/0.001119, allocations: 90.14 kB / 262.1 MB, free: 13.87 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.3007/0.3007, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.547e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4126, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.6119, allocations: 105.9 MB / 0.5693 GB, free: 9.359 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.6122, allocations: 75.95 kB / 0.5694 GB, free: 9.285 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7683/1.381, allocations: 93.44 MB / 0.6606 GB, free: 107.9 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.381, allocations: 0 / 0.6606 GB, free: 107.9 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004067/1.381, allocations: 87.92 kB / 0.6607 GB, free: 107.9 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.02036/1.401, allocations: 4.607 MB / 0.6652 GB, free: 106.1 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.401, allocations: 12.34 kB / 0.6652 GB, free: 106.1 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04864/1.45, allocations: 6.736 MB / 0.6718 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02394/1.474, allocations: 6.311 MB / 0.678 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/1.474, allocations: 139.2 kB / 0.6781 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/1.477, allocations: 260.7 kB / 0.6784 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01589/1.493, allocations: 6.594 MB / 0.6848 GB, free: 104.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.517, allocations: 9.571 MB / 0.6941 GB, free: 99.05 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003384/1.518, allocations: 66.75 kB / 0.6942 GB, free: 99.04 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/1.52, allocations: 34.97 kB / 0.6942 GB, free: 99.04 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002308/1.522, allocations: 1.018 MB / 0.6952 GB, free: 98.87 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06751/1.59, allocations: 46.03 MB / 0.7402 GB, free: 62.71 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/1.595, allocations: 3.075 MB / 0.7432 GB, free: 59.75 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/1.599, allocations: 1.722 MB / 0.7449 GB, free: 58.17 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/1.601, allocations: 1.934 MB / 0.7468 GB, free: 56.09 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/1.601, allocations: 55.81 kB / 0.7468 GB, free: 56.03 MB / 475.1 MB Notification: Performance of pre-optimization done (n=186): time 5.801e-06/1.601, allocations: 0 / 0.7468 GB, free: 56.03 MB / 475.1 MB Notification: Performance of matching and sorting (n=242): time 0.1139/1.715, allocations: 26.25 MB / 0.7725 GB, free: 29.9 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/1.715, allocations: 205.9 kB / 0.7727 GB, free: 29.65 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/1.722, allocations: 3.29 MB / 0.7759 GB, free: 26.34 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006711/1.723, allocations: 25.7 kB / 0.7759 GB, free: 26.31 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002571/1.725, allocations: 3.218 MB / 0.779 GB, free: 23.05 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.727, allocations: 0.871 MB / 0.7799 GB, free: 22.16 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008663/1.728, allocations: 0 / 0.7799 GB, free: 22.16 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004444/1.728, allocations: 0.5876 MB / 0.7805 GB, free: 21.57 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006794/1.735, allocations: 3.309 MB / 0.7837 GB, free: 18.25 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009294/1.744, allocations: 7.055 MB / 0.7906 GB, free: 9.32 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009449/1.754, allocations: 4.712 MB / 0.7952 GB, free: 4.605 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.754, allocations: 40 kB / 0.7952 GB, free: 4.566 MB / 475.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.06408/1.818, allocations: 14.57 MB / 0.8094 GB, free: 5.988 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.818, allocations: 63.95 kB / 0.8095 GB, free: 5.926 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/1.819, allocations: 135.8 kB / 0.8096 GB, free: 5.797 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04321/1.862, allocations: 5.924 MB / 0.8154 GB, free: 15.86 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/1.872, allocations: 1.493 MB / 0.8169 GB, free: 14.36 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4104/2.282, allocations: 22.88 MB / 0.8392 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009021/2.291, allocations: 277.7 kB / 0.8395 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/2.294, allocations: 401.4 kB / 0.8399 GB, free: 120.5 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 (778): * Single equations (assignments): 773 * 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.002802/2.296, allocations: 445.7 kB / 0.8403 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/2.298, allocations: 376 kB / 0.8407 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05304/2.351, allocations: 10.57 MB / 0.851 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/2.351, allocations: 30.98 kB / 0.851 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/2.351, allocations: 10.56 kB / 0.851 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/2.351, allocations: 12.94 kB / 0.851 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07087/2.422, allocations: 19.45 MB / 0.87 GB, free: 113.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/2.422, allocations: 6.344 kB / 0.87 GB, free: 113.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/2.426, allocations: 389 kB / 0.8704 GB, free: 113.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0359/2.462, allocations: 4.975 MB / 0.8753 GB, free: 112.5 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006825/2.463, allocations: 7.25 kB / 0.8753 GB, free: 112.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03945/2.502, allocations: 18.45 MB / 0.8933 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/2.502, allocations: 9.062 kB / 0.8933 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05263/2.555, allocations: 14.35 MB / 0.9073 GB, free: 98.26 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003704/2.558, allocations: 0.9295 MB / 0.9082 GB, free: 97.77 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/2.56, allocations: 10.53 kB / 0.9082 GB, free: 97.77 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/2.565, allocations: 136.5 kB / 0.9084 GB, free: 97.77 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/2.566, allocations: 155.4 kB / 0.9085 GB, free: 97.75 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/2.567, allocations: 69.12 kB / 0.9086 GB, free: 97.73 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.005512/2.572, allocations: 2.22 MB / 0.9107 GB, free: 96.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.513e-06/2.572, allocations: 0 / 0.9107 GB, free: 96.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0092/2.581, allocations: 1.17 MB / 0.9119 GB, free: 96.9 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 (173): * Single equations (assignments): 168 * 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.001017/2.582, allocations: 158.5 kB / 0.912 GB, free: 96.81 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01598/2.598, allocations: 7.639 MB / 0.9195 GB, free: 91.71 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.598, allocations: 4 kB / 0.9195 GB, free: 91.71 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.006641/2.605, allocations: 3.035 MB / 0.9225 GB, free: 88.98 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/2.609, allocations: 409.2 kB / 0.9229 GB, free: 88.64 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/2.635, allocations: 10.37 MB / 0.933 GB, free: 78.62 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007365/2.642, allocations: 3.61 MB / 0.9365 GB, free: 75.01 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/2.644, allocations: 302.4 kB / 0.9368 GB, free: 74.72 MB / 0.4952 GB Notification: Performance of SimCode: time 1.423e-06/2.644, allocations: 0 / 0.9368 GB, free: 74.72 MB / 0.4952 GB Notification: Performance of Templates: time 0.5489/3.193, allocations: 102.7 MB / 1.037 GB, free: 131.3 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches