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.001177/0.001177, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00138/0.00138, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2081/0.2081, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3711, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01277/0.3839, allocations: 11.29 MB / 0.5299 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009765/0.3938, allocations: 2.79 MB / 0.5326 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.3971, allocations: 52.5 kB / 0.5327 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.4013, allocations: 1.301 MB / 0.534 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.4059, allocations: 1.226 MB / 0.5352 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.4065, allocations: 82.42 kB / 0.5352 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004368/0.4108, allocations: 2.754 MB / 0.5379 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.4137, allocations: 1.844 MB / 0.5397 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.4159, allocations: 1.059 MB / 0.5408 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.4183, allocations: 1.447 MB / 0.5422 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006673/0.419, allocations: 209 kB / 0.5424 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.4204, allocations: 496.3 kB / 0.5428 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.4218, allocations: 1.418 MB / 0.5442 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.4237, allocations: 1.711 MB / 0.5459 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005981/0.4297, allocations: 5.515 MB / 0.5513 GB, free: 10.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4298, allocations: 0 / 0.5513 GB, free: 10.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4298, allocations: 3.938 kB / 0.5513 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.4299, allocations: 0 / 0.5513 GB, free: 10.76 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.005964/0.4359, allocations: 3.711 MB / 0.5549 GB, free: 6.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.436, allocations: 12.03 kB / 0.5549 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/0.4457, allocations: 2.958 MB / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.449, allocations: 1.546 MB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.4492, allocations: 172.6 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007778/0.45, allocations: 220 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.4691, allocations: 9.472 MB / 0.5689 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-05/0.4693, allocations: 15.88 kB / 0.569 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009787/0.4703, allocations: 107.8 kB / 0.5691 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004031/0.4743, allocations: 2.373 MB / 0.5714 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.4935, allocations: 8.672 MB / 0.5799 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0493/0.5429, allocations: 29.15 MB / 0.6083 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/0.5485, allocations: 3.053 MB / 0.6113 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.5503, allocations: 0.9805 MB / 0.6123 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009977/0.5603, allocations: 4.854 MB / 0.617 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.5604, allocations: 39.22 kB / 0.617 GB, free: 5.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.789e-06/0.5604, allocations: 4 kB / 0.617 GB, free: 5.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006302/0.5667, allocations: 2.741 MB / 0.6197 GB, free: 2.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5668, allocations: 60.06 kB / 0.6198 GB, free: 2.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004301/0.5711, allocations: 2.582 MB / 0.6223 GB, free: 200 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.5712, allocations: 33.7 kB / 0.6223 GB, free: 160 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002015/0.5733, allocations: 2.763 MB / 0.625 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005874/0.5739, allocations: 0.5117 MB / 0.6255 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.5753, allocations: 0.9169 MB / 0.6264 GB, free: 11.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5754, allocations: 357.9 kB / 0.6268 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.5775, allocations: 1.352 MB / 0.6281 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/0.5814, allocations: 4.114 MB / 0.6321 GB, free: 4.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00644/0.5878, allocations: 5.972 MB / 0.6379 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.588, allocations: 28 kB / 0.638 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01056/0.5986, allocations: 5.287 MB / 0.6431 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5987, allocations: 48 kB / 0.6432 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/0.5989, allocations: 96 kB / 0.6433 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.5991, allocations: 136.8 kB / 0.6434 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.6023, allocations: 0.9747 MB / 0.6443 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002591/0.6026, allocations: 199.2 kB / 0.6445 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/0.6067, allocations: 0.6088 MB / 0.6451 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006812/0.6074, allocations: 284 kB / 0.6454 GB, free: 5.695 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.003781/0.6112, allocations: 1.891 MB / 0.6472 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.6117, allocations: 230.4 kB / 0.6475 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.6125, allocations: 275.4 kB / 0.6477 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/0.6126, allocations: 19.98 kB / 0.6477 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6126, allocations: 0 / 0.6477 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6126, allocations: 3.984 kB / 0.6478 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6237, allocations: 5.615 MB / 0.6532 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.6237, allocations: 8.031 kB / 0.6532 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.6244, allocations: 135.8 kB / 0.6534 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/0.6244, allocations: 8 kB / 0.6534 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-05/0.6245, allocations: 16 kB / 0.6534 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.6246, allocations: 11.98 kB / 0.6534 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.6246, allocations: 11.94 kB / 0.6534 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.6268, allocations: 1.797 MB / 0.6552 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/0.6273, allocations: 299.3 kB / 0.6555 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.6278, allocations: 24 kB / 0.6555 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.6288, allocations: 39.95 kB / 0.6555 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.6289, allocations: 60.38 kB / 0.6556 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/0.629, allocations: 39.98 kB / 0.6556 GB, free: 11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003006/0.6321, allocations: 1.556 MB / 0.6571 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6321, allocations: 4 kB / 0.6571 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004332/0.6364, allocations: 1.028 MB / 0.6581 GB, free: 8.398 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.0006065/0.637, allocations: 146.9 kB / 0.6583 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005825/0.6429, allocations: 3.152 MB / 0.6614 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.6429, allocations: 11.94 kB / 0.6614 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.6438, allocations: 0.7336 MB / 0.6621 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6453, allocations: 256.8 kB / 0.6623 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.6587, allocations: 7.282 MB / 0.6694 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.6626, allocations: 2.966 MB / 0.6723 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003392/0.666, allocations: 1.488 MB / 0.6738 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.6666, allocations: 159.4 kB / 0.6739 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.6666, allocations: 0 / 0.6739 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.0396/0.7062, allocations: 16.55 MB / 0.6901 GB, free: 7.625 MB / 0.545 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