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.001462/0.001462, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.925/1.925, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.00116/0.00116, allocations: 96.34 kB / 270.9 MB, free: 8.383 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.5303/0.5303, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004966, allocations: 12 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5398/0.6693, allocations: 106.7 MB / 0.5829 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6697, allocations: 83.95 kB / 0.583 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7653/1.435, allocations: 95.21 MB / 0.6759 GB, free: 88.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.896e-06/1.435, allocations: 0 / 0.6759 GB, free: 88.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003891/1.435, allocations: 87.62 kB / 0.676 GB, free: 88.62 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.02314/1.459, allocations: 5.041 MB / 0.681 GB, free: 86.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.459, allocations: 11.25 kB / 0.681 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04986/1.509, allocations: 6.728 MB / 0.6875 GB, free: 86.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02395/1.533, allocations: 6.35 MB / 0.6937 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/1.533, allocations: 326.4 kB / 0.694 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002607/1.536, allocations: 442.5 kB / 0.6945 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03519/1.571, allocations: 11.06 MB / 0.7053 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003773/1.571, allocations: 69.67 kB / 0.7053 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/1.573, allocations: 211.4 kB / 0.7055 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/1.576, allocations: 1.016 MB / 0.7065 GB, free: 83.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/1.609, allocations: 9.296 MB / 0.7156 GB, free: 83.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07073/1.68, allocations: 47.67 MB / 0.7622 GB, free: 48.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/1.698, allocations: 4.15 MB / 0.7662 GB, free: 47.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01693/1.715, allocations: 7.51 MB / 0.7735 GB, free: 42.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.715, allocations: 54.34 kB / 0.7736 GB, free: 42.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 6.032e-06/1.715, allocations: 3.562 kB / 0.7736 GB, free: 42.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.3087/2.023, allocations: 41.04 MB / 0.8137 GB, free: 27.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.024, allocations: 203.4 kB / 0.8139 GB, free: 27.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009237/2.033, allocations: 3.825 MB / 0.8176 GB, free: 23.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007287/2.034, allocations: 67.91 kB / 0.8177 GB, free: 23.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002764/2.036, allocations: 3.115 MB / 0.8207 GB, free: 20.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/2.038, allocations: 0.8747 MB / 0.8216 GB, free: 19.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/2.039, allocations: 127.9 kB / 0.8217 GB, free: 19.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000434/2.04, allocations: 0.5792 MB / 0.8223 GB, free: 18.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008012/2.048, allocations: 3.425 MB / 0.8256 GB, free: 15.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/2.058, allocations: 7.049 MB / 0.8325 GB, free: 6.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/2.069, allocations: 4.761 MB / 0.8371 GB, free: 1.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/2.069, allocations: 36 kB / 0.8372 GB, free: 1.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=823) (initialization): time 0.06915/2.138, allocations: 15.31 MB / 0.8521 GB, free: 2.113 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/2.138, allocations: 60 kB / 0.8522 GB, free: 2.055 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/2.138, allocations: 128 kB / 0.8523 GB, free: 1.93 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04401/2.182, allocations: 5.938 MB / 0.8581 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/2.193, allocations: 1.435 MB / 0.8595 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4268/2.619, allocations: 25.71 MB / 0.8846 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008716/2.628, allocations: 392.3 kB / 0.885 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/2.63, allocations: 380.8 kB / 0.8853 GB, free: 104 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.006703/2.637, allocations: 2.216 MB / 0.8875 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/2.638, allocations: 400.5 kB / 0.8879 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05262/2.691, allocations: 10.82 MB / 0.8985 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/2.691, allocations: 26.73 kB / 0.8985 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/2.691, allocations: 16.28 kB / 0.8985 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-05/2.691, allocations: 10.36 kB / 0.8985 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07951/2.77, allocations: 20.22 MB / 0.9182 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.605e-05/2.77, allocations: 6.812 kB / 0.9183 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003912/2.774, allocations: 385.2 kB / 0.9186 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0376/2.812, allocations: 4.994 MB / 0.9235 GB, free: 95.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007628/2.813, allocations: 43.7 kB / 0.9235 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04493/2.858, allocations: 20.89 MB / 0.9439 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/2.858, allocations: 3.812 kB / 0.9439 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05424/2.912, allocations: 14.59 MB / 0.9582 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/2.916, allocations: 0.9538 MB / 0.9591 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/2.918, allocations: 43.67 kB / 0.9592 GB, free: 79.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005063/2.923, allocations: 169.7 kB / 0.9593 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.924, allocations: 157.6 kB / 0.9595 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/2.924, allocations: 61.55 kB / 0.9595 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006838/2.931, allocations: 2.698 MB / 0.9622 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.532e-06/2.931, allocations: 0 / 0.9622 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008557/2.94, allocations: 1.332 MB / 0.9635 GB, free: 78.43 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.001081/2.941, allocations: 186.8 kB / 0.9637 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01866/2.96, allocations: 7.967 MB / 0.9714 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/2.96, allocations: 3.188 kB / 0.9714 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/2.967, allocations: 3.128 MB / 0.9745 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/2.972, allocations: 497 kB / 0.975 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/3.002, allocations: 13.93 MB / 0.9886 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007208/3.009, allocations: 3.621 MB / 0.9921 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/3.011, allocations: 309.4 kB / 0.9924 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/3.011, allocations: 0 / 0.9924 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.5572/3.569, allocations: 104.7 MB / 1.095 GB, free: 116.1 MB / 0.5261 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