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.001211/0.001211, allocations: 94.92 kB / 17 MB, free: 6.348 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.001569/0.001569, allocations: 182.3 kB / 17.89 MB, free: 5.922 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.489/1.489, allocations: 223.3 MB / 241.9 MB, free: 340 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.2636/0.2636, allocations: 44.26 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.04215/0.1906, allocations: 25.88 MB / 497.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.2058, allocations: 5.333 MB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006201/0.2121, allocations: 115.8 kB / 0.4911 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.2163, allocations: 1.26 MB / 0.4924 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.227, allocations: 3.533 MB / 0.4958 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2284, allocations: 79.92 kB / 0.4959 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.2331, allocations: 3.059 MB / 0.4989 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.2369, allocations: 2.129 MB / 0.501 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.2386, allocations: 0.8832 MB / 0.5018 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2406, allocations: 1.394 MB / 0.5032 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.241, allocations: 116 kB / 0.5033 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.242, allocations: 375.4 kB / 0.5036 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.2433, allocations: 1.274 MB / 0.5049 GB, free: 104 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2584/0.5016, allocations: 0.6918 MB / 0.5056 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.5079, allocations: 4.164 MB / 0.5096 GB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.508, allocations: 0.8438 kB / 0.5096 GB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.508, allocations: 1.125 kB / 0.5096 GB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.5082, allocations: 0 / 0.5096 GB, free: 13.1 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.007353/0.5156, allocations: 2.975 MB / 0.5125 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5156, allocations: 10.16 kB / 0.5126 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00962/0.5252, allocations: 3.025 MB / 0.5155 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.5294, allocations: 1.509 MB / 0.517 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.5296, allocations: 175 kB / 0.5171 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008066/0.5304, allocations: 226.5 kB / 0.5174 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.5469, allocations: 9.453 MB / 0.5266 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-05/0.547, allocations: 20.02 kB / 0.5266 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.5474, allocations: 110.8 kB / 0.5267 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003811/0.5512, allocations: 2.373 MB / 0.529 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.5684, allocations: 8.627 MB / 0.5375 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.6071, allocations: 29.32 MB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.6121, allocations: 3.039 MB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.6137, allocations: 0.9783 MB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/0.6225, allocations: 4.831 MB / 0.5747 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.6226, allocations: 45.47 kB / 0.5748 GB, free: 5.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.901e-06/0.6226, allocations: 0 / 0.5748 GB, free: 5.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006796/0.6294, allocations: 2.727 MB / 0.5774 GB, free: 2.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6295, allocations: 65.92 kB / 0.5775 GB, free: 2.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.6343, allocations: 2.548 MB / 0.58 GB, free: 332 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.6345, allocations: 37.7 kB / 0.58 GB, free: 288 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002305/0.6368, allocations: 2.652 MB / 0.5826 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.6375, allocations: 497.2 kB / 0.5831 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.6377, allocations: 87.28 kB / 0.5832 GB, free: 13.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003854/0.6381, allocations: 0.5476 MB / 0.5837 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.6402, allocations: 1.336 MB / 0.585 GB, free: 11.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.644, allocations: 4.101 MB / 0.589 GB, free: 5.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.6474, allocations: 2.351 MB / 0.5913 GB, free: 3.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/0.6475, allocations: 28 kB / 0.5913 GB, free: 3.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008503/0.656, allocations: 5.255 MB / 0.5965 GB, free: 14.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.641e-05/0.6561, allocations: 48 kB / 0.5965 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.6562, allocations: 96 kB / 0.5966 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.6563, allocations: 144 kB / 0.5967 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.6591, allocations: 0.9753 MB / 0.5977 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.6592, allocations: 198.6 kB / 0.5979 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.6621, allocations: 0.6099 MB / 0.5985 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/0.6626, allocations: 276 kB / 0.5987 GB, free: 12.57 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003988/0.6666, allocations: 1.89 MB / 0.6006 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.667, allocations: 209.2 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.6676, allocations: 275.2 kB / 0.6011 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.6676, allocations: 16 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6677, allocations: 3.984 kB / 0.6011 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6677, allocations: 7.938 kB / 0.6011 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009195/0.6769, allocations: 5.605 MB / 0.6066 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.6769, allocations: 8.062 kB / 0.6066 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.6775, allocations: 134.8 kB / 0.6067 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.6775, allocations: 8 kB / 0.6067 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.6776, allocations: 20 kB / 0.6067 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.6776, allocations: 15.66 kB / 0.6067 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6776, allocations: 4 kB / 0.6067 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.6798, allocations: 1.783 MB / 0.6085 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.6804, allocations: 305.9 kB / 0.6088 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6807, allocations: 22.95 kB / 0.6088 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.6812, allocations: 39.97 kB / 0.6088 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6814, allocations: 64.19 kB / 0.6089 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.6815, allocations: 38.73 kB / 0.6089 GB, free: 2.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002681/0.6841, allocations: 1.545 MB / 0.6104 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6842, allocations: 0 / 0.6104 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004639/0.6888, allocations: 1.008 MB / 0.6114 GB, free: 15.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000441/0.6893, allocations: 148.3 kB / 0.6116 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.6949, allocations: 3.107 MB / 0.6146 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.6949, allocations: 0 / 0.6146 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.6958, allocations: 0.74 MB / 0.6153 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.6982, allocations: 252.1 kB / 0.6156 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.7146, allocations: 8.809 MB / 0.6242 GB, free: 2.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/0.718, allocations: 2.97 MB / 0.6271 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003451/0.7215, allocations: 1.484 MB / 0.6285 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.7219, allocations: 155.4 kB / 0.6287 GB, free: 14.07 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7219, allocations: 0 / 0.6287 GB, free: 14.07 MB / 478.1 MB Notification: Performance of Templates: time 0.03671/0.7586, allocations: 17.52 MB / 0.6458 GB, free: 12.72 MB / 494.1 MB 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