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.00183/0.00183, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.387/1.387, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001028/0.001028, allocations: 89.86 kB / 267.1 MB, free: 9.285 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.417/0.417, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.591e-05, allocations: 8 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5583, allocations: 106.6 MB / 0.5769 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5586, allocations: 73.84 kB / 0.5769 GB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2383/0.797, allocations: 95.29 MB / 0.67 GB, free: 8.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.797, allocations: 3.938 kB / 0.67 GB, free: 8.746 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002068/0.7972, allocations: 88 kB / 0.6701 GB, free: 8.66 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.01483/0.8121, allocations: 4.623 MB / 0.6746 GB, free: 3.969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.8122, allocations: 8.031 kB / 0.6746 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/0.839, allocations: 6.733 MB / 0.6812 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/0.8574, allocations: 6.313 MB / 0.6873 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/0.8579, allocations: 330 kB / 0.6877 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002738/0.8607, allocations: 439.8 kB / 0.6881 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3489/1.21, allocations: 10.98 MB / 0.6988 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/1.21, allocations: 68.75 kB / 0.6989 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006182/1.21, allocations: 210.9 kB / 0.6991 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/1.212, allocations: 1.019 MB / 0.7001 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/1.23, allocations: 9.17 MB / 0.709 GB, free: 92.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04158/1.272, allocations: 47.66 MB / 0.7556 GB, free: 64.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009894/1.282, allocations: 4.106 MB / 0.7596 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/1.284, allocations: 1.786 MB / 0.7613 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/1.296, allocations: 7.504 MB / 0.7686 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.296, allocations: 50.84 kB / 0.7687 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 6.612e-06/1.296, allocations: 3.531 kB / 0.7687 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.08296/1.379, allocations: 25.7 MB / 0.7938 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/1.379, allocations: 211.3 kB / 0.794 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/1.384, allocations: 3.775 MB / 0.7977 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006921/1.385, allocations: 64.42 kB / 0.7977 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.387, allocations: 3.243 MB / 0.8009 GB, free: 47.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.388, allocations: 0.8769 MB / 0.8018 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/1.388, allocations: 125 kB / 0.8019 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002914/1.389, allocations: 0.5701 MB / 0.8024 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/1.392, allocations: 3.366 MB / 0.8057 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.398, allocations: 6.986 MB / 0.8126 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/1.403, allocations: 4.753 MB / 0.8172 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.337e-05/1.403, allocations: 35.75 kB / 0.8172 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03244/1.436, allocations: 15.34 MB / 0.8322 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/1.436, allocations: 60.03 kB / 0.8323 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/1.436, allocations: 127.3 kB / 0.8324 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0208/1.457, allocations: 5.924 MB / 0.8382 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.462, allocations: 1.442 MB / 0.8396 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/1.493, allocations: 24.97 MB / 0.864 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007883/1.501, allocations: 399 kB / 0.8644 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.503, allocations: 378.8 kB / 0.8647 GB, free: 6.992 MB / 0.4948 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.002462/1.505, allocations: 0.5835 MB / 0.8653 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.507, allocations: 398.8 kB / 0.8657 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.535, allocations: 10.77 MB / 0.8762 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.265e-05/1.535, allocations: 24 kB / 0.8762 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-05/1.535, allocations: 8.75 kB / 0.8762 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.012e-05/1.535, allocations: 19.95 kB / 0.8762 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3566/1.892, allocations: 20.14 MB / 0.8959 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/1.892, allocations: 5.25 kB / 0.8959 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/1.894, allocations: 386.1 kB / 0.8963 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01854/1.913, allocations: 4.988 MB / 0.9011 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/1.913, allocations: 42.72 kB / 0.9012 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/1.937, allocations: 20.14 MB / 0.9208 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.937, allocations: 7.109 kB / 0.9209 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/1.967, allocations: 14.5 MB / 0.935 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003324/1.97, allocations: 0.959 MB / 0.936 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/1.972, allocations: 42.41 kB / 0.936 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.976, allocations: 170.1 kB / 0.9362 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.977, allocations: 158.5 kB / 0.9363 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004107/1.978, allocations: 65.41 kB / 0.9364 GB, free: 94.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005586/1.983, allocations: 2.664 MB / 0.939 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.983, allocations: 0 / 0.939 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007586/1.991, allocations: 1.327 MB / 0.9403 GB, free: 93.89 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 () * 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.0006422/1.991, allocations: 184.5 kB / 0.9404 GB, free: 93.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01172/2.003, allocations: 7.858 MB / 0.9481 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.003, allocations: 3.438 kB / 0.9481 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/2.007, allocations: 3.068 MB / 0.9511 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/2.011, allocations: 491.3 kB / 0.9516 GB, free: 89.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/2.03, allocations: 9.917 MB / 0.9613 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003842/2.034, allocations: 3.618 MB / 0.9648 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004991/2.039, allocations: 1.971 MB / 0.9667 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009959/2.04, allocations: 269.6 kB / 0.967 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/2.04, allocations: 3.156 kB / 0.967 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.1114/2.151, allocations: 63.79 MB / 1.029 GB, free: 49.07 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/jenkins/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