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.001076/0.001076, allocations: 187 kB / 16.63 MB, free: 5.133 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 8.484 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.0009816/0.0009815, allocations: 103.5 kB / 269.9 MB, free: 8.441 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.3908/0.3908, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000984/0.0009841, allocations: 55.91 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1294, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2907/0.4201, allocations: 47.05 MB / 0.5215 GB, free: 35.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.445, allocations: 10.14 MB / 0.5314 GB, free: 29.85 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01237/0.4574, allocations: 203.6 kB / 0.5316 GB, free: 29.82 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.4627, allocations: 2.715 MB / 0.5343 GB, free: 28.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.4679, allocations: 1.9 MB / 0.5361 GB, free: 27.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.47, allocations: 0.8354 MB / 0.537 GB, free: 27.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008297/0.4783, allocations: 7.476 MB / 0.5443 GB, free: 25.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004645/0.483, allocations: 3.319 MB / 0.5475 GB, free: 24.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.4863, allocations: 1.55 MB / 0.549 GB, free: 23.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.4909, allocations: 2.688 MB / 0.5516 GB, free: 22.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.492, allocations: 261.9 kB / 0.5519 GB, free: 22.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4952, allocations: 1.358 MB / 0.5532 GB, free: 22.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.4981, allocations: 2.103 MB / 0.5553 GB, free: 21.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004684/0.5028, allocations: 2.343 MB / 0.5576 GB, free: 20.05 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.5154, allocations: 7.57 MB / 0.5649 GB, free: 16.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.5155, allocations: 1.406 kB / 0.565 GB, free: 16.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5155, allocations: 4 kB / 0.565 GB, free: 16.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003291/0.5158, allocations: 0 / 0.565 GB, free: 16.14 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.01742/0.5333, allocations: 5.531 MB / 0.5704 GB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5333, allocations: 8.469 kB / 0.5704 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.5452, allocations: 2.476 MB / 0.5728 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009873/0.5551, allocations: 3.461 MB / 0.5762 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.5554, allocations: 239.6 kB / 0.5764 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.5568, allocations: 338.7 kB / 0.5767 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.5759, allocations: 10.87 MB / 0.5873 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.5761, allocations: 47.58 kB / 0.5874 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.5765, allocations: 159.8 kB / 0.5875 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003026/0.5795, allocations: 1.998 MB / 0.5895 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.5973, allocations: 9.448 MB / 0.5987 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/0.6477, allocations: 41.24 MB / 0.639 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.6583, allocations: 4.271 MB / 0.6432 GB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.6609, allocations: 1.929 MB / 0.645 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.674, allocations: 7.618 MB / 0.6525 GB, free: 9.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.6741, allocations: 55.56 kB / 0.6525 GB, free: 9.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 4.919e-06/0.6741, allocations: 0 / 0.6525 GB, free: 9.488 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.1657/0.8398, allocations: 40.96 MB / 0.6925 GB, free: 428 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.84, allocations: 213.8 kB / 0.6927 GB, free: 168 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2338/1.074, allocations: 4.331 MB / 0.697 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006853/1.075, allocations: 57.48 kB / 0.697 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.077, allocations: 3.172 MB / 0.7001 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.078, allocations: 0.8845 MB / 0.701 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/1.08, allocations: 1.348 MB / 0.7023 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/1.08, allocations: 304.9 kB / 0.7026 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/1.084, allocations: 3.626 MB / 0.7061 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005961/1.09, allocations: 7.305 MB / 0.7133 GB, free: 146 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.101, allocations: 11.63 MB / 0.7246 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.101, allocations: 36.84 kB / 0.7247 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03854/1.14, allocations: 16.2 MB / 0.7405 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/1.14, allocations: 59.25 kB / 0.7405 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/1.14, allocations: 127.4 kB / 0.7407 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02491/1.165, allocations: 6.224 MB / 0.7467 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/1.17, allocations: 1.487 MB / 0.7482 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/1.2, allocations: 26.16 MB / 0.7737 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00851/1.208, allocations: 407.3 kB / 0.7741 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.21, allocations: 387.5 kB / 0.7745 GB, free: 110.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * 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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00437/1.214, allocations: 2.221 MB / 0.7767 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009635/1.215, allocations: 390.9 kB / 0.777 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/1.241, allocations: 11.3 MB / 0.7881 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/1.241, allocations: 27.94 kB / 0.7881 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.241, allocations: 16 kB / 0.7881 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.713e-05/1.241, allocations: 11.95 kB / 0.7881 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04053/1.282, allocations: 20.7 MB / 0.8083 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.592e-05/1.282, allocations: 12.12 kB / 0.8083 GB, free: 75.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/1.284, allocations: 391.3 kB / 0.8087 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/1.304, allocations: 5.308 MB / 0.8139 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006211/1.304, allocations: 44 kB / 0.8139 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02337/1.328, allocations: 21.22 MB / 0.8346 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.328, allocations: 11.94 kB / 0.8347 GB, free: 48.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.546/1.874, allocations: 147.2 MB / 0.9784 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.876, allocations: 0.9767 MB / 0.9794 GB, free: 82.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/1.877, allocations: 44.55 kB / 0.9794 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.879, allocations: 183.7 kB / 0.9796 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/1.879, allocations: 152.4 kB / 0.9798 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.88, allocations: 63.98 kB / 0.9798 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003223/1.883, allocations: 2.729 MB / 0.9825 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.883, allocations: 0 / 0.9825 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006955/1.89, allocations: 1.977 MB / 0.9844 GB, free: 77.29 MB / 0.4948 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004903/1.89, allocations: 191.5 kB / 0.9846 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009958/1.9, allocations: 8.31 MB / 0.9927 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.9, allocations: 0 / 0.9927 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/1.904, allocations: 3.21 MB / 0.9958 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.908, allocations: 493.5 kB / 0.9963 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.927, allocations: 15.95 MB / 1.012 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.931, allocations: 3.603 MB / 1.015 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005597/1.936, allocations: 2.034 MB / 1.017 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.938, allocations: 271.4 kB / 1.018 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.938, allocations: 4.922 kB / 1.018 GB, free: 43.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.3568/2.294, allocations: 106.8 MB / 1.122 GB, free: 130.8 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@2/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