Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.554/1.554, 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.0009931/0.0009933, allocations: 98.84 kB / 270.2 MB, free: 13.37 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.2367/0.2367, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004192, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5439, allocations: 107.3 MB / 0.5835 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5442, allocations: 75.64 kB / 0.5836 GB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2638/0.808, allocations: 103.8 MB / 0.685 GB, free: 8.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8081, allocations: 4 kB / 0.685 GB, free: 8.793 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004222/0.8086, allocations: 108 kB / 0.6851 GB, free: 8.688 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02085/0.8294, allocations: 5.69 MB / 0.6907 GB, free: 2.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8295, allocations: 15.97 kB / 0.6907 GB, free: 2.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.8563, allocations: 6.881 MB / 0.6974 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/0.8774, allocations: 7.527 MB / 0.7047 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/0.8778, allocations: 378.2 kB / 0.7051 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/0.8802, allocations: 0.4919 MB / 0.7056 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3216/1.202, allocations: 12.34 MB / 0.7176 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003839/1.202, allocations: 80.98 kB / 0.7177 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.204, allocations: 236.4 kB / 0.7179 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.206, allocations: 1.147 MB / 0.7191 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.232, allocations: 10.27 MB / 0.7291 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/1.292, allocations: 55.7 MB / 0.7835 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/1.305, allocations: 5.705 MB / 0.7891 GB, free: 70.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/1.319, allocations: 8.816 MB / 0.7977 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.32, allocations: 52.41 kB / 0.7977 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 5.561e-06/1.32, allocations: 0 / 0.7977 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.1144/1.434, allocations: 36.01 MB / 0.8329 GB, free: 52.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.434, allocations: 217.4 kB / 0.8331 GB, free: 52.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007908/1.442, allocations: 4.231 MB / 0.8372 GB, free: 49.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006823/1.443, allocations: 61.7 kB / 0.8373 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.445, allocations: 3.596 MB / 0.8408 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.446, allocations: 0.9828 MB / 0.8417 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004318/1.447, allocations: 133.5 kB / 0.8419 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002601/1.447, allocations: 0.5866 MB / 0.8424 GB, free: 44.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004062/1.451, allocations: 3.006 MB / 0.8454 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/1.457, allocations: 6.813 MB / 0.852 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/1.464, allocations: 4.434 MB / 0.8564 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.729e-05/1.464, allocations: 40 kB / 0.8564 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02527/1.489, allocations: 13.08 MB / 0.8692 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.489, allocations: 61.56 kB / 0.8692 GB, free: 17.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.489, allocations: 136 kB / 0.8694 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/1.5, allocations: 4.084 MB / 0.8733 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004752/1.505, allocations: 1.423 MB / 0.8747 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/1.539, allocations: 26.9 MB / 0.901 GB, free: 424 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/1.545, allocations: 391.4 kB / 0.9014 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2451/1.79, allocations: 400.1 kB / 0.9018 GB, free: 112.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (763): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.006195/1.797, allocations: 2.473 MB / 0.9042 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.798, allocations: 448.4 kB / 0.9046 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.816, allocations: 8.115 MB / 0.9125 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.963e-05/1.816, allocations: 31.7 kB / 0.9126 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.221e-05/1.816, allocations: 15.28 kB / 0.9126 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/1.817, allocations: 12.55 kB / 0.9126 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.85, allocations: 16.7 MB / 0.9289 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/1.85, allocations: 3.656 kB / 0.9289 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.852, allocations: 299.2 kB / 0.9292 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/1.862, allocations: 3.78 MB / 0.9329 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006349/1.863, allocations: 45.88 kB / 0.9329 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03299/1.896, allocations: 25.64 MB / 0.958 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.896, allocations: 3.719 kB / 0.958 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/1.918, allocations: 12.63 MB / 0.9703 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/1.922, allocations: 0.9509 MB / 0.9712 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.924, allocations: 51.41 kB / 0.9713 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/1.927, allocations: 166.8 kB / 0.9714 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009847/1.928, allocations: 189.9 kB / 0.9716 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004005/1.929, allocations: 74.64 kB / 0.9717 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006314/1.935, allocations: 3.001 MB / 0.9746 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.935, allocations: 0 / 0.9746 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008109/1.943, allocations: 1.422 MB / 0.976 GB, free: 93.41 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009403/1.944, allocations: 208.1 kB / 0.9762 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.958, allocations: 8.142 MB / 0.9842 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.958, allocations: 0 / 0.9842 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005865/1.963, allocations: 3.466 MB / 0.9876 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/1.968, allocations: 0.5542 MB / 0.9881 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.994, allocations: 14.37 MB / 1.002 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006583/2.001, allocations: 4.048 MB / 1.006 GB, free: 77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005659/2.007, allocations: 2.026 MB / 1.008 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/2.008, allocations: 284.3 kB / 1.008 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/2.008, allocations: 0 / 1.008 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.1016/2.109, allocations: 66.18 MB / 1.073 GB, free: 16.62 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches