Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 77.44 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1452, allocations: 62.43 MB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02854/0.1738, allocations: 28.53 MB / 0.4959 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1867, allocations: 5.585 MB / 0.5014 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004989/0.1917, allocations: 115.8 kB / 0.5015 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.1949, allocations: 1.293 MB / 0.5027 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.1981, allocations: 1.148 MB / 0.5039 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.1986, allocations: 71.92 kB / 0.5039 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2602/0.4588, allocations: 3.997 MB / 0.5078 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.4624, allocations: 1.831 MB / 0.5096 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.4645, allocations: 0.9117 MB / 0.5105 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.4673, allocations: 1.523 MB / 0.512 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006634/0.468, allocations: 151.3 kB / 0.5121 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.4694, allocations: 459.5 kB / 0.5126 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.4711, allocations: 1.345 MB / 0.5139 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.4731, allocations: 1.654 MB / 0.5155 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006093/0.4792, allocations: 5.097 MB / 0.5205 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4792, allocations: 1.312 kB / 0.5205 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4793, allocations: 0 / 0.5205 GB, free: 8.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.4794, allocations: 4 kB / 0.5205 GB, free: 8.754 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.006481/0.4859, allocations: 3.565 MB / 0.524 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4859, allocations: 9.188 kB / 0.524 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/0.4951, allocations: 2.939 MB / 0.5269 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.498, allocations: 1.526 MB / 0.5283 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4981, allocations: 176.2 kB / 0.5285 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/0.4986, allocations: 224.4 kB / 0.5287 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.5139, allocations: 9.48 MB / 0.538 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.514, allocations: 18.78 kB / 0.538 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.5144, allocations: 109.6 kB / 0.5381 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00358/0.5179, allocations: 2.376 MB / 0.5404 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.5368, allocations: 8.667 MB / 0.5489 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0471/0.584, allocations: 29.29 MB / 0.5775 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/0.5898, allocations: 3.047 MB / 0.5805 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.5915, allocations: 0.9805 MB / 0.5814 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.6017, allocations: 4.849 MB / 0.5862 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6018, allocations: 39.22 kB / 0.5862 GB, free: 14.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 6.582e-06/0.6018, allocations: 0 / 0.5862 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006561/0.6084, allocations: 2.741 MB / 0.5889 GB, free: 11.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.6085, allocations: 60.06 kB / 0.5889 GB, free: 11.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/0.6136, allocations: 2.561 MB / 0.5914 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.6137, allocations: 37.7 kB / 0.5915 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.6158, allocations: 2.645 MB / 0.5941 GB, free: 6.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.6164, allocations: 498.5 kB / 0.5945 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.6178, allocations: 0.9032 MB / 0.5954 GB, free: 5.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.618, allocations: 357.9 kB / 0.5958 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.6201, allocations: 1.355 MB / 0.5971 GB, free: 3.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/0.6242, allocations: 4.116 MB / 0.6011 GB, free: 14.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007037/0.6312, allocations: 5.965 MB / 0.6069 GB, free: 7.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-05/0.6313, allocations: 28 kB / 0.6069 GB, free: 7.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009152/0.6405, allocations: 5.286 MB / 0.6121 GB, free: 2.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.6406, allocations: 48 kB / 0.6122 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.6408, allocations: 102.6 kB / 0.6123 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.6409, allocations: 128 kB / 0.6124 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.6437, allocations: 0.9747 MB / 0.6133 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001709/0.6439, allocations: 191.2 kB / 0.6135 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.6471, allocations: 0.6069 MB / 0.6141 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/0.6475, allocations: 280.1 kB / 0.6144 GB, free: 15.79 MB / 478.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.004254/0.6518, allocations: 1.894 MB / 0.6162 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.6523, allocations: 213.1 kB / 0.6164 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.6528, allocations: 267.3 kB / 0.6167 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/0.6529, allocations: 16 kB / 0.6167 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6529, allocations: 0 / 0.6167 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6529, allocations: 7.969 kB / 0.6167 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.6668, allocations: 5.613 MB / 0.6222 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.6669, allocations: 4 kB / 0.6222 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.6676, allocations: 135.8 kB / 0.6223 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.57e-05/0.6676, allocations: 8 kB / 0.6223 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.385e-05/0.6677, allocations: 28.55 kB / 0.6223 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.6678, allocations: 11.94 kB / 0.6224 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.6678, allocations: 8 kB / 0.6224 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.6707, allocations: 1.784 MB / 0.6241 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006704/0.6714, allocations: 289.9 kB / 0.6244 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005058/0.6719, allocations: 23.36 kB / 0.6244 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.6728, allocations: 39.89 kB / 0.6244 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.673, allocations: 60.44 kB / 0.6245 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/0.6731, allocations: 43.98 kB / 0.6245 GB, free: 5.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003435/0.6765, allocations: 1.556 MB / 0.6261 GB, free: 3.586 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6765, allocations: 0 / 0.6261 GB, free: 3.586 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004872/0.6814, allocations: 0.9896 MB / 0.627 GB, free: 2.598 MB / 478.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.000476/0.6819, allocations: 145.6 kB / 0.6272 GB, free: 2.449 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005481/0.6874, allocations: 3.127 MB / 0.6302 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.6874, allocations: 1.812 kB / 0.6302 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6885, allocations: 0.7369 MB / 0.6309 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.6904, allocations: 248.5 kB / 0.6312 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.7076, allocations: 9.149 MB / 0.6401 GB, free: 5.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/0.711, allocations: 2.969 MB / 0.643 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003523/0.7146, allocations: 1.485 MB / 0.6445 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.715, allocations: 155.4 kB / 0.6446 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of SimCode: time 1.305e-05/0.715, allocations: 0 / 0.6446 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Templates: time 0.05179/0.7668, allocations: 17.82 MB / 0.662 GB, free: 14.82 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches