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.001053/0.001053, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.372/1.372, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007446/0.0007443, allocations: 85.42 kB / 271.9 MB, free: 8.266 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.3348/0.3348, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 19.98 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4771, allocations: 106.8 MB / 0.5842 GB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4774, allocations: 85.2 kB / 0.5843 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4916/0.969, allocations: 93.67 MB / 0.6758 GB, free: 88.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.969, allocations: 0.5625 kB / 0.6758 GB, free: 88.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003323/0.9694, allocations: 91.02 kB / 0.6759 GB, free: 88.39 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.01779/0.9872, allocations: 4.925 MB / 0.6807 GB, free: 86.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9872, allocations: 11.81 kB / 0.6807 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02167/1.009, allocations: 5.086 MB / 0.6857 GB, free: 86.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.021, allocations: 5.182 MB / 0.6907 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.022, allocations: 330.5 kB / 0.691 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/1.024, allocations: 441.9 kB / 0.6915 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/1.048, allocations: 10.99 MB / 0.7022 GB, free: 83.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002377/1.048, allocations: 72.81 kB / 0.7023 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/1.049, allocations: 213.9 kB / 0.7025 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001411/1.051, allocations: 1.022 MB / 0.7035 GB, free: 83.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/1.071, allocations: 9.181 MB / 0.7124 GB, free: 83.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05112/1.122, allocations: 47.61 MB / 0.7589 GB, free: 49.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/1.132, allocations: 4.136 MB / 0.7629 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/1.134, allocations: 1.809 MB / 0.7647 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009761/1.144, allocations: 7.432 MB / 0.772 GB, free: 42.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/1.144, allocations: 59.03 kB / 0.772 GB, free: 42.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 7.634e-06/1.144, allocations: 4 kB / 0.772 GB, free: 42.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1396/1.283, allocations: 40.81 MB / 0.8119 GB, free: 28.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.284, allocations: 209.9 kB / 0.8121 GB, free: 28.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005934/1.289, allocations: 4.295 MB / 0.8163 GB, free: 24.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.29, allocations: 61.7 kB / 0.8163 GB, free: 24.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.292, allocations: 3.235 MB / 0.8195 GB, free: 21.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.293, allocations: 0.8803 MB / 0.8204 GB, free: 20.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/1.293, allocations: 124 kB / 0.8205 GB, free: 20.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/1.294, allocations: 0.5706 MB / 0.821 GB, free: 19.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/1.298, allocations: 3.425 MB / 0.8244 GB, free: 16.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005961/1.304, allocations: 7.068 MB / 0.8313 GB, free: 7.598 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/1.317, allocations: 11.29 MB / 0.8423 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.317, allocations: 36 kB / 0.8423 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03749/1.354, allocations: 15.47 MB / 0.8575 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.354, allocations: 60 kB / 0.8575 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.355, allocations: 128.8 kB / 0.8576 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02094/1.376, allocations: 5.919 MB / 0.8634 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005312/1.381, allocations: 1.431 MB / 0.8648 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2988/1.68, allocations: 25 MB / 0.8892 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/1.686, allocations: 393 kB / 0.8896 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.687, allocations: 385.6 kB / 0.89 GB, free: 104.8 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.005046/1.692, allocations: 2.218 MB / 0.8921 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.694, allocations: 398.8 kB / 0.8925 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02584/1.719, allocations: 10.82 MB / 0.9031 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-05/1.719, allocations: 27.41 kB / 0.9031 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-05/1.72, allocations: 9.547 kB / 0.9031 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.889e-05/1.72, allocations: 20.53 kB / 0.9031 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04778/1.767, allocations: 20.21 MB / 0.9229 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/1.768, allocations: 7.375 kB / 0.9229 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/1.769, allocations: 378.8 kB / 0.9232 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01691/1.786, allocations: 4.999 MB / 0.9281 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005993/1.787, allocations: 42.89 kB / 0.9282 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/1.81, allocations: 20.19 MB / 0.9479 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.81, allocations: 10.62 kB / 0.9479 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/1.838, allocations: 13.98 MB / 0.9615 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/1.841, allocations: 0.9662 MB / 0.9625 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.843, allocations: 42.38 kB / 0.9625 GB, free: 79.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.846, allocations: 167.4 kB / 0.9627 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.847, allocations: 159.3 kB / 0.9628 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/1.847, allocations: 66.91 kB / 0.9629 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005146/1.853, allocations: 2.693 MB / 0.9655 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/1.853, allocations: 0 / 0.9655 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00779/1.86, allocations: 1.322 MB / 0.9668 GB, free: 77.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 () * 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.0006546/1.861, allocations: 192 kB / 0.967 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.872, allocations: 7.957 MB / 0.9748 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.872, allocations: 3.219 kB / 0.9748 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004407/1.877, allocations: 3.126 MB / 0.9778 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006517/1.883, allocations: 0.5117 MB / 0.9783 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.902, allocations: 13.99 MB / 0.992 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.905, allocations: 3.523 MB / 0.9954 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.906, allocations: 305.2 kB / 0.9957 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/1.906, allocations: 0 / 0.9957 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3813/2.288, allocations: 109.1 MB / 1.102 GB, free: 98.53 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