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.001178/0.001178, allocations: 93.08 kB / 18 MB, free: 5.602 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.001664/0.001664, allocations: 177.4 kB / 18.91 MB, free: 4.738 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.389/1.389, allocations: 223.3 MB / 243 MB, free: 15.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.25 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 16.66 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02636/0.1306, allocations: 27.78 MB / 0.489 GB, free: 1.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.143, allocations: 5.593 MB / 0.4944 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/0.1473, allocations: 107.8 kB / 0.4945 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1485, allocations: 414.2 kB / 0.4949 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.1515, allocations: 1.164 MB / 0.4961 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1519, allocations: 83.84 kB / 0.4961 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.1567, allocations: 4.028 MB / 0.5001 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.1611, allocations: 2.319 MB / 0.5023 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.163, allocations: 0.8439 MB / 0.5032 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.1652, allocations: 1.424 MB / 0.5045 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006537/0.1659, allocations: 120 kB / 0.5047 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1673, allocations: 419.3 kB / 0.5051 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2003/0.3676, allocations: 1.326 MB / 0.5064 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002994/0.3706, allocations: 1.637 MB / 0.508 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.3763, allocations: 4.167 MB / 0.512 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3764, allocations: 0 / 0.512 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3764, allocations: 0 / 0.512 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002455/0.3766, allocations: 0 / 0.512 GB, free: 12.86 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.007301/0.3839, allocations: 2.928 MB / 0.5149 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.384, allocations: 9.562 kB / 0.5149 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.3946, allocations: 3.02 MB / 0.5178 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.3985, allocations: 1.536 MB / 0.5193 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.3987, allocations: 169.6 kB / 0.5195 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.3999, allocations: 219.8 kB / 0.5197 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.4167, allocations: 9.473 MB / 0.529 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/0.4169, allocations: 18.97 kB / 0.529 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.4182, allocations: 111.1 kB / 0.5291 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003768/0.422, allocations: 2.377 MB / 0.5314 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.4368, allocations: 8.671 MB / 0.5399 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04411/0.4809, allocations: 29.33 MB / 0.5685 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.4861, allocations: 3.052 MB / 0.5715 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.4876, allocations: 0.9765 MB / 0.5724 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00855/0.4962, allocations: 4.845 MB / 0.5772 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4963, allocations: 37.75 kB / 0.5772 GB, free: 13.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.559e-06/0.4963, allocations: 0 / 0.5772 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006166/0.5025, allocations: 2.732 MB / 0.5799 GB, free: 11.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.5025, allocations: 58.69 kB / 0.5799 GB, free: 11.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/0.507, allocations: 2.565 MB / 0.5824 GB, free: 8.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5072, allocations: 48.34 kB / 0.5825 GB, free: 8.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5091, allocations: 2.648 MB / 0.5851 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.5097, allocations: 0.4972 MB / 0.5856 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006404/0.5103, allocations: 391.7 kB / 0.5859 GB, free: 4.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5105, allocations: 357.9 kB / 0.5863 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.5127, allocations: 1.355 MB / 0.5876 GB, free: 3.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003945/0.5166, allocations: 4.116 MB / 0.5916 GB, free: 13.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006516/0.5232, allocations: 5.966 MB / 0.5974 GB, free: 6.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.362e-05/0.5233, allocations: 28 kB / 0.5975 GB, free: 6.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00905/0.5323, allocations: 5.278 MB / 0.6026 GB, free: 2.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/0.5324, allocations: 55.45 kB / 0.6027 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.5326, allocations: 96 kB / 0.6028 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.5327, allocations: 132 kB / 0.6029 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.5358, allocations: 0.9748 MB / 0.6038 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.5359, allocations: 191.5 kB / 0.604 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.5392, allocations: 0.6069 MB / 0.6046 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005998/0.5399, allocations: 279.2 kB / 0.6049 GB, free: 15.88 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.003903/0.5438, allocations: 1.893 MB / 0.6067 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.5442, allocations: 217.2 kB / 0.6069 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.5449, allocations: 267.4 kB / 0.6072 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.5449, allocations: 16 kB / 0.6072 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.545, allocations: 0 / 0.6072 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.545, allocations: 3.984 kB / 0.6072 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.5558, allocations: 5.613 MB / 0.6127 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5558, allocations: 6.625 kB / 0.6127 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.5564, allocations: 139.9 kB / 0.6128 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.5564, allocations: 8 kB / 0.6128 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.5565, allocations: 23.98 kB / 0.6129 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.5565, allocations: 14.56 kB / 0.6129 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5566, allocations: 4 kB / 0.6129 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.5588, allocations: 1.796 MB / 0.6146 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.5594, allocations: 302 kB / 0.6149 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/0.5598, allocations: 16 kB / 0.6149 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.5606, allocations: 39.95 kB / 0.615 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5608, allocations: 60.34 kB / 0.615 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.5609, allocations: 51.98 kB / 0.6151 GB, free: 5.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002866/0.5638, allocations: 1.553 MB / 0.6166 GB, free: 3.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5638, allocations: 4 kB / 0.6166 GB, free: 3.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004038/0.5678, allocations: 1.01 MB / 0.6176 GB, free: 2.781 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.0003811/0.5682, allocations: 142.2 kB / 0.6177 GB, free: 2.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.573, allocations: 3.132 MB / 0.6208 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.573, allocations: 4 kB / 0.6208 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.574, allocations: 0.7358 MB / 0.6215 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.5766, allocations: 256.7 kB / 0.6218 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.592, allocations: 9.611 MB / 0.6311 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/0.5958, allocations: 2.973 MB / 0.634 GB, free: 1.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.5965, allocations: 199.4 kB / 0.6342 GB, free: 1.715 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5965, allocations: 0 / 0.6342 GB, free: 1.715 MB / 478.1 MB Notification: Performance of Templates: time 0.05886/0.6553, allocations: 41.26 MB / 0.6745 GB, free: 8.574 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/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