Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001019/0.001019, allocations: 176 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007853, allocations: 88.86 kB / 271.3 MB, free: 8.258 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.3693/0.3693, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003796, allocations: 12 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4904, allocations: 106.8 MB / 0.5843 GB, free: 11.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.4908, allocations: 75.95 kB / 0.5843 GB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4861/0.9769, allocations: 93.68 MB / 0.6758 GB, free: 88.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.808e-06/0.9769, allocations: 0.5625 kB / 0.6758 GB, free: 88.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003132/0.9773, allocations: 88.23 kB / 0.6759 GB, free: 88.57 MB / 490.7 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.01898/0.9962, allocations: 4.932 MB / 0.6807 GB, free: 86.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.9963, allocations: 9.625 kB / 0.6807 GB, free: 86.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/1.017, allocations: 5.081 MB / 0.6857 GB, free: 86.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.032, allocations: 5.18 MB / 0.6907 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/1.032, allocations: 333.4 kB / 0.6911 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/1.034, allocations: 443.4 kB / 0.6915 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/1.055, allocations: 10.99 MB / 0.7022 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/1.055, allocations: 62.31 kB / 0.7023 GB, free: 83.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008103/1.056, allocations: 222.1 kB / 0.7025 GB, free: 83.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/1.057, allocations: 1.014 MB / 0.7035 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/1.077, allocations: 9.188 MB / 0.7124 GB, free: 83.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05027/1.128, allocations: 47.6 MB / 0.7589 GB, free: 49.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009341/1.137, allocations: 4.137 MB / 0.763 GB, free: 47.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/1.139, allocations: 1.805 MB / 0.7647 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/1.15, allocations: 7.432 MB / 0.772 GB, free: 42.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.15, allocations: 63.34 kB / 0.7721 GB, free: 42.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 5.039e-06/1.15, allocations: 0 / 0.7721 GB, free: 42.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1408/1.29, allocations: 40.81 MB / 0.8119 GB, free: 28.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/1.291, allocations: 205.9 kB / 0.8121 GB, free: 28.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006156/1.297, allocations: 4.299 MB / 0.8163 GB, free: 24.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005952/1.297, allocations: 57.7 kB / 0.8164 GB, free: 24.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.299, allocations: 3.243 MB / 0.8195 GB, free: 21.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.3, allocations: 0.8765 MB / 0.8204 GB, free: 20.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/1.3, allocations: 124 kB / 0.8205 GB, free: 20.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002701/1.301, allocations: 0.5706 MB / 0.8211 GB, free: 19.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.305, allocations: 3.421 MB / 0.8244 GB, free: 16.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/1.31, allocations: 7.072 MB / 0.8313 GB, free: 7.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.323, allocations: 11.29 MB / 0.8423 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/1.323, allocations: 36 kB / 0.8424 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03793/1.361, allocations: 15.46 MB / 0.8575 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.459e-05/1.362, allocations: 60.94 kB / 0.8575 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.362, allocations: 128 kB / 0.8577 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02067/1.382, allocations: 5.916 MB / 0.8634 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/1.388, allocations: 1.431 MB / 0.8648 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2985/1.686, allocations: 25.01 MB / 0.8893 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/1.692, allocations: 395.3 kB / 0.8896 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.694, allocations: 383.1 kB / 0.89 GB, free: 104.8 MB / 0.5105 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 () * Number of clocked 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.004323/1.698, allocations: 2.22 MB / 0.8922 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/1.699, allocations: 398.4 kB / 0.8925 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02515/1.724, allocations: 10.82 MB / 0.9031 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/1.724, allocations: 25.33 kB / 0.9031 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/1.724, allocations: 12.41 kB / 0.9031 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/1.724, allocations: 17.25 kB / 0.9032 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04372/1.768, allocations: 20.22 MB / 0.9229 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/1.768, allocations: 5.781 kB / 0.9229 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.77, allocations: 375.9 kB / 0.9233 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0169/1.787, allocations: 4.997 MB / 0.9282 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004944/1.788, allocations: 49.61 kB / 0.9282 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/1.81, allocations: 20.19 MB / 0.9479 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.81, allocations: 10.75 kB / 0.9479 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02581/1.835, allocations: 13.98 MB / 0.9616 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.838, allocations: 0.959 MB / 0.9625 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/1.839, allocations: 50.64 kB / 0.9626 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.841, allocations: 168 kB / 0.9627 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/1.841, allocations: 148.5 kB / 0.9629 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.842, allocations: 67.59 kB / 0.9629 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003698/1.845, allocations: 2.696 MB / 0.9656 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.845, allocations: 0 / 0.9656 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005455/1.851, allocations: 1.324 MB / 0.9669 GB, free: 77.82 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 () * Number of clocked 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.0006039/1.851, allocations: 189.9 kB / 0.967 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.862, allocations: 7.96 MB / 0.9748 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.862, allocations: 0 / 0.9748 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003777/1.866, allocations: 3.114 MB / 0.9778 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006006/1.872, allocations: 0.5141 MB / 0.9784 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.89, allocations: 13.47 MB / 0.9915 GB, free: 63.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.893, allocations: 3.523 MB / 0.9949 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004778/1.898, allocations: 1.969 MB / 0.9969 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/1.899, allocations: 269.5 kB / 0.9971 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/1.899, allocations: 0 / 0.9971 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.3199/2.219, allocations: 63.93 MB / 1.06 GB, free: 103.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches