Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 172.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003299, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 61.92 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02673/0.1704, allocations: 27.78 MB / 0.4883 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.186, allocations: 5.593 MB / 0.4938 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006529/0.1925, allocations: 115.8 kB / 0.4939 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.194, allocations: 406.2 kB / 0.4943 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.1982, allocations: 1.168 MB / 0.4954 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.1989, allocations: 79.86 kB / 0.4955 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.2043, allocations: 4.026 MB / 0.4994 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.2093, allocations: 2.335 MB / 0.5017 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.2114, allocations: 0.8322 MB / 0.5025 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.2143, allocations: 1.424 MB / 0.5039 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.2153, allocations: 116 kB / 0.504 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.2173, allocations: 423.3 kB / 0.5044 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2615/0.4789, allocations: 1.324 MB / 0.5057 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.4823, allocations: 1.638 MB / 0.5073 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.4899, allocations: 5.04 MB / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4899, allocations: 0 / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4899, allocations: 0 / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.4902, allocations: 0 / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.007047/0.4972, allocations: 2.925 MB / 0.5151 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4973, allocations: 10.7 kB / 0.5151 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.5081, allocations: 3.026 MB / 0.518 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.5122, allocations: 1.528 MB / 0.5195 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.5124, allocations: 171.7 kB / 0.5197 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.513, allocations: 226 kB / 0.5199 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.5308, allocations: 9.471 MB / 0.5292 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/0.5309, allocations: 17.56 kB / 0.5292 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/0.5313, allocations: 108.1 kB / 0.5293 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/0.5351, allocations: 2.376 MB / 0.5316 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.5512, allocations: 8.671 MB / 0.5401 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.5985, allocations: 29.33 MB / 0.5687 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/0.6044, allocations: 3.047 MB / 0.5717 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.6063, allocations: 0.9805 MB / 0.5726 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.6167, allocations: 4.844 MB / 0.5774 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.6167, allocations: 43.22 kB / 0.5774 GB, free: 13.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.72e-06/0.6168, allocations: 0 / 0.5774 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006369/0.6231, allocations: 2.728 MB / 0.5801 GB, free: 10.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6232, allocations: 60.06 kB / 0.5801 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.6278, allocations: 2.572 MB / 0.5827 GB, free: 7.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.281e-05/0.6279, allocations: 49.05 kB / 0.5827 GB, free: 7.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.63, allocations: 2.639 MB / 0.5853 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.6306, allocations: 0.4885 MB / 0.5858 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/0.6312, allocations: 394.7 kB / 0.5861 GB, free: 4.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6314, allocations: 361.9 kB / 0.5865 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.6335, allocations: 1.356 MB / 0.5878 GB, free: 2.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/0.6375, allocations: 4.115 MB / 0.5918 GB, free: 12.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.6446, allocations: 5.962 MB / 0.5976 GB, free: 5.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.861e-05/0.6447, allocations: 32 kB / 0.5977 GB, free: 5.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009753/0.6545, allocations: 5.28 MB / 0.6028 GB, free: 1.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.6546, allocations: 47.98 kB / 0.6029 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.6548, allocations: 103.8 kB / 0.603 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.655, allocations: 128 kB / 0.6031 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.6581, allocations: 0.9785 MB / 0.6041 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001748/0.6583, allocations: 191.1 kB / 0.6042 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.6616, allocations: 0.6103 MB / 0.6048 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/0.6623, allocations: 276 kB / 0.6051 GB, free: 15.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003921/0.6662, allocations: 1.896 MB / 0.6069 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.6667, allocations: 213.2 kB / 0.6071 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.6673, allocations: 271.4 kB / 0.6074 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/0.6674, allocations: 16 kB / 0.6074 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6674, allocations: 0 / 0.6074 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6674, allocations: 7.984 kB / 0.6074 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.6817, allocations: 5.608 MB / 0.6129 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.6818, allocations: 8.125 kB / 0.6129 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.6824, allocations: 132.8 kB / 0.613 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.6824, allocations: 8 kB / 0.613 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.6825, allocations: 27.58 kB / 0.6131 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.6825, allocations: 14.62 kB / 0.6131 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6825, allocations: 4 kB / 0.6131 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.685, allocations: 1.793 MB / 0.6148 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.6857, allocations: 298 kB / 0.6151 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.686, allocations: 24 kB / 0.6151 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.6868, allocations: 44.92 kB / 0.6152 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6869, allocations: 59.06 kB / 0.6152 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.687, allocations: 42.56 kB / 0.6153 GB, free: 4.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002912/0.6899, allocations: 1.556 MB / 0.6168 GB, free: 2.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6899, allocations: 0 / 0.6168 GB, free: 2.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003915/0.6938, allocations: 1.011 MB / 0.6178 GB, free: 1.977 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003694/0.6942, allocations: 145.6 kB / 0.6179 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004891/0.6991, allocations: 3.136 MB / 0.621 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6991, allocations: 448 / 0.621 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.7, allocations: 0.7374 MB / 0.6217 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.7026, allocations: 257.7 kB / 0.622 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.717, allocations: 9.191 MB / 0.6309 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/0.7211, allocations: 2.966 MB / 0.6338 GB, free: 1.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003799/0.7249, allocations: 1.481 MB / 0.6353 GB, free: 48 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.7256, allocations: 159.4 kB / 0.6354 GB, free: 15.89 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7256, allocations: 0 / 0.6354 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Templates: time 0.04435/0.77, allocations: 17.79 MB / 0.6528 GB, free: 14.24 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches