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.00236/0.00236, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001224/0.001224, allocations: 98.84 kB / 270.9 MB, free: 13.38 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.4132/0.4132, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 16 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.87 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0642/0.193, allocations: 40.23 MB / 0.518 GB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3615/0.5545, allocations: 9.996 MB / 0.5278 GB, free: 9.746 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/0.5659, allocations: 203.4 kB / 0.528 GB, free: 9.746 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008414/0.5744, allocations: 1.97 MB / 0.5299 GB, free: 9.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02412/0.5986, allocations: 5.848 MB / 0.5356 GB, free: 9.215 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.603, allocations: 0.7621 MB / 0.5364 GB, free: 9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06652/0.6696, allocations: 26.89 MB / 0.5626 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008921/0.6785, allocations: 4.231 MB / 0.5667 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.6817, allocations: 1.184 MB / 0.5679 GB, free: 9.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.6853, allocations: 1.747 MB / 0.5696 GB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009368/0.6863, allocations: 176 kB / 0.5698 GB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.6897, allocations: 1.05 MB / 0.5708 GB, free: 7.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.6926, allocations: 1.822 MB / 0.5726 GB, free: 6.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.6941, allocations: 0.8984 MB / 0.5735 GB, free: 5.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.7047, allocations: 6.156 MB / 0.5795 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7048, allocations: 0 / 0.5795 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.7048, allocations: 0 / 0.5795 GB, free: 15.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002154/0.705, allocations: 0 / 0.5795 GB, free: 15.8 MB / 394.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.01791/0.723, allocations: 4.882 MB / 0.5842 GB, free: 10.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.723, allocations: 8.562 kB / 0.5842 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08904/0.8121, allocations: 7.896 MB / 0.592 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/0.8305, allocations: 3.854 MB / 0.5957 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005073/0.8311, allocations: 240.2 kB / 0.5959 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.8334, allocations: 336.5 kB / 0.5963 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.867, allocations: 10.88 MB / 0.6069 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.8673, allocations: 47.58 kB / 0.6069 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009146/0.8682, allocations: 158.2 kB / 0.6071 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005944/0.8742, allocations: 1.996 MB / 0.609 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03342/0.9076, allocations: 9.337 MB / 0.6182 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0811/0.9888, allocations: 41.15 MB / 0.6583 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/1.008, allocations: 4.249 MB / 0.6625 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/1.028, allocations: 7.588 MB / 0.6699 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/1.028, allocations: 59.5 kB / 0.67 GB, free: 1.129 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 6.311e-06/1.028, allocations: 0 / 0.67 GB, free: 1.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.328/1.356, allocations: 41.55 MB / 0.7105 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.356, allocations: 201.9 kB / 0.7107 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.367, allocations: 4.589 MB / 0.7152 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007681/1.368, allocations: 60.36 kB / 0.7153 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3417/1.71, allocations: 3.084 MB / 0.7183 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.712, allocations: 0.8757 MB / 0.7191 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009647/1.713, allocations: 126.7 kB / 0.7193 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005712/1.713, allocations: 0.577 MB / 0.7198 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009613/1.723, allocations: 3.468 MB / 0.7232 GB, free: 184.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/1.735, allocations: 7.055 MB / 0.7301 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.748, allocations: 4.808 MB / 0.7348 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002598/1.748, allocations: 40.97 kB / 0.7348 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.06617/1.815, allocations: 15.5 MB / 0.75 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.815, allocations: 62.66 kB / 0.75 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/1.815, allocations: 125 kB / 0.7501 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04287/1.858, allocations: 6.113 MB / 0.7561 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009537/1.867, allocations: 1.441 MB / 0.7575 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05533/1.923, allocations: 26.38 MB / 0.7833 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008701/1.931, allocations: 403.4 kB / 0.7837 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.933, allocations: 376.6 kB / 0.784 GB, free: 140.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * 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 (741): * Single equations (assignments): 736 * 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.0055/1.938, allocations: 2.216 MB / 0.7862 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.939, allocations: 402.8 kB / 0.7866 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04974/1.989, allocations: 11.06 MB / 0.7974 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/1.989, allocations: 36.53 kB / 0.7974 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.989, allocations: 8 kB / 0.7974 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.227e-05/1.989, allocations: 11.97 kB / 0.7974 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07244/2.062, allocations: 20.6 MB / 0.8175 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/2.062, allocations: 8.547 kB / 0.8176 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003827/2.066, allocations: 394.9 kB / 0.8179 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03792/2.104, allocations: 5.173 MB / 0.823 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006854/2.105, allocations: 47.98 kB / 0.823 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04631/2.151, allocations: 21.5 MB / 0.844 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/2.151, allocations: 7.938 kB / 0.844 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05503/2.206, allocations: 14.91 MB / 0.8586 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003758/2.21, allocations: 0.9877 MB / 0.8596 GB, free: 62.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.211, allocations: 40 kB / 0.8596 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/2.216, allocations: 188 kB / 0.8598 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/2.218, allocations: 149 kB / 0.8599 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003443/2.218, allocations: 74.86 kB / 0.86 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006675/2.225, allocations: 2.927 MB / 0.8629 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/2.225, allocations: 4 kB / 0.8629 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008545/2.233, allocations: 1.352 MB / 0.8642 GB, free: 57.68 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.001143/2.235, allocations: 191.8 kB / 0.8644 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01815/2.253, allocations: 8.052 MB / 0.8722 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.253, allocations: 4 kB / 0.8722 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007355/2.26, allocations: 3.163 MB / 0.8753 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/2.265, allocations: 499.5 kB / 0.8758 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/2.295, allocations: 14 MB / 0.8895 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006836/2.302, allocations: 3.609 MB / 0.893 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/2.304, allocations: 315.4 kB / 0.8933 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/2.304, allocations: 0 / 0.8933 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.5541/2.858, allocations: 105.5 MB / 0.9963 GB, free: 104.4 MB / 0.5105 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