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.0009519/0.0009519, allocations: 182.3 kB / 15.76 MB, free: 6.367 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.603/1.603, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009766/0.0009766, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.5277, allocations: 106.7 MB / 0.5829 GB, free: 9.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.528, allocations: 77.03 kB / 0.583 GB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.244/0.7721, allocations: 95.22 MB / 0.676 GB, free: 1.996 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7721, allocations: 0 / 0.676 GB, free: 1.996 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.7723, allocations: 95.92 kB / 0.6761 GB, free: 1.902 MB / 474.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.01396/0.7863, allocations: 5.031 MB / 0.681 GB, free: 12.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7864, allocations: 8.031 kB / 0.681 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/0.8122, allocations: 6.725 MB / 0.6876 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/0.8292, allocations: 6.356 MB / 0.6938 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.8297, allocations: 324.5 kB / 0.6941 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/0.8325, allocations: 447.7 kB / 0.6945 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.857, allocations: 11.06 MB / 0.7053 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/0.8573, allocations: 71.41 kB / 0.7054 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008417/0.8581, allocations: 207.9 kB / 0.7056 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/0.8595, allocations: 1.022 MB / 0.7066 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2499/1.109, allocations: 9.292 MB / 0.7156 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/1.161, allocations: 47.67 MB / 0.7622 GB, free: 87.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009808/1.171, allocations: 4.137 MB / 0.7662 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/1.183, allocations: 7.513 MB / 0.7736 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/1.183, allocations: 47.16 kB / 0.7736 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 5.431e-06/1.183, allocations: 0 / 0.7736 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.1517/1.335, allocations: 41.05 MB / 0.8137 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.335, allocations: 213.2 kB / 0.8139 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007255/1.342, allocations: 3.819 MB / 0.8176 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006181/1.343, allocations: 58.33 kB / 0.8177 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.345, allocations: 3.243 MB / 0.8208 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.347, allocations: 0.8717 MB / 0.8217 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008419/1.347, allocations: 128 kB / 0.8218 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005374/1.348, allocations: 0.574 MB / 0.8224 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/1.353, allocations: 3.429 MB / 0.8257 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008111/1.361, allocations: 7.036 MB / 0.8326 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006803/1.368, allocations: 4.771 MB / 0.8373 GB, free: 49.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.368, allocations: 36 kB / 0.8373 GB, free: 49.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03424/1.402, allocations: 15.46 MB / 0.8524 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.402, allocations: 64.78 kB / 0.8525 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/1.402, allocations: 128 kB / 0.8526 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02049/1.423, allocations: 5.937 MB / 0.8584 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00534/1.428, allocations: 1.431 MB / 0.8598 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/1.458, allocations: 25.72 MB / 0.8849 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006664/1.464, allocations: 391.4 kB / 0.8853 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.466, allocations: 381.2 kB / 0.8856 GB, free: 15.68 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.005391/1.471, allocations: 2.224 MB / 0.8878 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.472, allocations: 402.8 kB / 0.8882 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02872/1.501, allocations: 10.82 MB / 0.8988 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/1.501, allocations: 29.33 kB / 0.8988 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/1.501, allocations: 8 kB / 0.8988 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/1.501, allocations: 15.95 kB / 0.8988 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2998/1.801, allocations: 20.19 MB / 0.9185 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.801, allocations: 4.875 kB / 0.9185 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.803, allocations: 386.1 kB / 0.9189 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.822, allocations: 4.994 MB / 0.9238 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000599/1.823, allocations: 50.89 kB / 0.9238 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/1.847, allocations: 20.88 MB / 0.9442 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.847, allocations: 9.156 kB / 0.9442 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02821/1.876, allocations: 14.58 MB / 0.9585 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.879, allocations: 0.9633 MB / 0.9594 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/1.88, allocations: 40.28 kB / 0.9594 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.882, allocations: 170.3 kB / 0.9596 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.883, allocations: 158.9 kB / 0.9598 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.883, allocations: 61.11 kB / 0.9598 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004347/1.887, allocations: 2.7 MB / 0.9624 GB, free: 108 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.887, allocations: 0 / 0.9624 GB, free: 108 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006625/1.894, allocations: 1.321 MB / 0.9637 GB, free: 107.9 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.0005957/1.894, allocations: 197.2 kB / 0.9639 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.905, allocations: 7.961 MB / 0.9717 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.905, allocations: 6.906 kB / 0.9717 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004105/1.909, allocations: 3.109 MB / 0.9747 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.912, allocations: 494 kB / 0.9752 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.931, allocations: 13.43 MB / 0.9883 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.935, allocations: 3.614 MB / 0.9919 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004889/1.939, allocations: 1.976 MB / 0.9938 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.94, allocations: 269.3 kB / 0.994 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/1.94, allocations: 0 / 0.994 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.09526/2.036, allocations: 63.79 MB / 1.056 GB, free: 36.09 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