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.001089/0.001089, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001023/0.001023, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.27/1.27, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3608, allocations: 60.82 MB / 0.5195 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01201/0.3728, allocations: 11.29 MB / 0.5306 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.3799, allocations: 2.788 MB / 0.5333 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.3821, allocations: 56.09 kB / 0.5333 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.3847, allocations: 1.297 MB / 0.5346 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.3876, allocations: 1.23 MB / 0.5358 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3879, allocations: 78.73 kB / 0.5359 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.3912, allocations: 2.758 MB / 0.5386 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.3932, allocations: 1.851 MB / 0.5404 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.3947, allocations: 1.044 MB / 0.5414 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.3965, allocations: 1.464 MB / 0.5428 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.397, allocations: 208.2 kB / 0.543 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3983, allocations: 0.4903 MB / 0.5435 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.3994, allocations: 1.419 MB / 0.5449 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.4008, allocations: 1.715 MB / 0.5466 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.4053, allocations: 5.489 MB / 0.5519 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4053, allocations: 0 / 0.5519 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4053, allocations: 0 / 0.5519 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-05/0.4054, allocations: 4 kB / 0.5519 GB, free: 10.79 MB / 414.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.004649/0.41, allocations: 3.612 MB / 0.5555 GB, free: 7.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4101, allocations: 8.031 kB / 0.5555 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008773/0.4189, allocations: 2.936 MB / 0.5583 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.4219, allocations: 1.537 MB / 0.5598 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.422, allocations: 176.6 kB / 0.56 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.4224, allocations: 220 kB / 0.5602 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.435, allocations: 9.472 MB / 0.5695 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.435, allocations: 15.88 kB / 0.5695 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.4353, allocations: 111.8 kB / 0.5696 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00327/0.4386, allocations: 2.373 MB / 0.5719 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.4537, allocations: 8.668 MB / 0.5804 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03862/0.4923, allocations: 29.08 MB / 0.6088 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.497, allocations: 3.056 MB / 0.6118 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4983, allocations: 0.9805 MB / 0.6127 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.5067, allocations: 4.829 MB / 0.6174 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.5068, allocations: 43.22 kB / 0.6175 GB, free: 5.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.606e-06/0.5068, allocations: 4 kB / 0.6175 GB, free: 5.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.005457/0.5123, allocations: 2.728 MB / 0.6201 GB, free: 3.117 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.5124, allocations: 68.05 kB / 0.6202 GB, free: 3.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.5156, allocations: 2.565 MB / 0.6227 GB, free: 456 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.5157, allocations: 37.7 kB / 0.6228 GB, free: 412 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.5173, allocations: 2.645 MB / 0.6253 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.5177, allocations: 0.4937 MB / 0.6258 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009524/0.5186, allocations: 0.9006 MB / 0.6267 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5188, allocations: 361.9 kB / 0.627 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.5204, allocations: 1.355 MB / 0.6284 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/0.524, allocations: 4.114 MB / 0.6324 GB, free: 5.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006477/0.5305, allocations: 5.968 MB / 0.6382 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-05/0.5306, allocations: 32 kB / 0.6382 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008641/0.5392, allocations: 5.279 MB / 0.6434 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.5393, allocations: 58.42 kB / 0.6435 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.544e-05/0.5394, allocations: 99.94 kB / 0.6435 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.5395, allocations: 128 kB / 0.6437 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.542, allocations: 0.9747 MB / 0.6446 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.5421, allocations: 191.8 kB / 0.6448 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.5446, allocations: 0.603 MB / 0.6454 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.5449, allocations: 284 kB / 0.6457 GB, free: 6.086 MB / 0.4981 GB 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.002577/0.5475, allocations: 1.887 MB / 0.6475 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5478, allocations: 209.2 kB / 0.6477 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.5482, allocations: 275.4 kB / 0.648 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.5483, allocations: 15.98 kB / 0.648 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5483, allocations: 4 kB / 0.648 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5483, allocations: 3.984 kB / 0.648 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.5565, allocations: 5.618 MB / 0.6535 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5565, allocations: 4.562 kB / 0.6535 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.5571, allocations: 135.8 kB / 0.6536 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.5571, allocations: 8 kB / 0.6536 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.5572, allocations: 24 kB / 0.6536 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.5572, allocations: 11.98 kB / 0.6537 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.5572, allocations: 7.938 kB / 0.6537 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.5593, allocations: 1.788 MB / 0.6554 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.5598, allocations: 282 kB / 0.6557 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.56, allocations: 20 kB / 0.6557 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.5606, allocations: 43.95 kB / 0.6557 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5607, allocations: 60.38 kB / 0.6558 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.5608, allocations: 43.97 kB / 0.6558 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002029/0.5628, allocations: 1.56 MB / 0.6574 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5628, allocations: 0 / 0.6574 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003311/0.5662, allocations: 1.003 MB / 0.6583 GB, free: 8.852 MB / 0.5137 GB 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.0003213/0.5665, allocations: 158.9 kB / 0.6585 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004348/0.5709, allocations: 3.151 MB / 0.6616 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5709, allocations: 0.9375 kB / 0.6616 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.5717, allocations: 0.7455 MB / 0.6623 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5729, allocations: 264.4 kB / 0.6625 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.5867, allocations: 7.576 MB / 0.6699 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004101/0.5909, allocations: 2.97 MB / 0.6728 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.5915, allocations: 203.4 kB / 0.673 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/0.5915, allocations: 0 / 0.673 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of Templates: time 0.06372/0.6553, allocations: 42.43 MB / 0.7145 GB, free: 15.39 MB / 0.5762 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