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.001922/0.001922, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.002557/0.002557, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.501/2.501, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.3805/0.3805, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.75 kB / 408.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1803, allocations: 60.83 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.05171/0.2321, allocations: 28.7 MB / 497.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02399/0.2561, allocations: 5.616 MB / 0.4917 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009354/0.2656, allocations: 115.8 kB / 0.4918 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005119/0.2707, allocations: 1.262 MB / 0.493 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005745/0.2766, allocations: 1.164 MB / 0.4942 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/0.2776, allocations: 75.84 kB / 0.4942 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008089/0.2857, allocations: 4.039 MB / 0.4982 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.2907, allocations: 1.839 MB / 0.5 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.2936, allocations: 0.9181 MB / 0.5009 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.2976, allocations: 1.53 MB / 0.5024 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.2988, allocations: 156 kB / 0.5025 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3012, allocations: 455.3 kB / 0.503 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4268/0.728, allocations: 1.367 MB / 0.5043 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006307/0.7344, allocations: 1.676 MB / 0.5059 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.7455, allocations: 4.26 MB / 0.5101 GB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.7456, allocations: 0 / 0.5101 GB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7456, allocations: 2.188 kB / 0.5101 GB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003274/0.746, allocations: 0 / 0.5101 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.01831/0.7643, allocations: 3.603 MB / 0.5136 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.537e-05/0.7644, allocations: 11.41 kB / 0.5136 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.7831, allocations: 2.933 MB / 0.5165 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0064/0.7896, allocations: 1.536 MB / 0.518 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.79, allocations: 171.7 kB / 0.5181 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/0.792, allocations: 219.9 kB / 0.5184 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/0.8205, allocations: 9.478 MB / 0.5276 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.8207, allocations: 20.41 kB / 0.5276 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.8225, allocations: 107.4 kB / 0.5277 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006352/0.8289, allocations: 2.376 MB / 0.5301 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.8549, allocations: 8.67 MB / 0.5385 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07374/0.9287, allocations: 29.29 MB / 0.5671 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/0.938, allocations: 3.048 MB / 0.5701 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.9406, allocations: 0.9809 MB / 0.5711 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.9568, allocations: 4.839 MB / 0.5758 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/0.9569, allocations: 43.2 kB / 0.5758 GB, free: 13.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 7.143e-06/0.9569, allocations: 0 / 0.5758 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.01175/0.9687, allocations: 2.735 MB / 0.5785 GB, free: 10.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.9688, allocations: 60.06 kB / 0.5786 GB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008175/0.977, allocations: 2.569 MB / 0.5811 GB, free: 7.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.9773, allocations: 37.7 kB / 0.5811 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00371/0.9811, allocations: 2.646 MB / 0.5837 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.9822, allocations: 0.4888 MB / 0.5842 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00333/0.9855, allocations: 0.903 MB / 0.585 GB, free: 3.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003235/0.9859, allocations: 361.8 kB / 0.5854 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003961/0.9899, allocations: 1.355 MB / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/0.9969, allocations: 4.119 MB / 0.5907 GB, free: 12.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.008, allocations: 5.967 MB / 0.5966 GB, free: 5.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.008, allocations: 28 kB / 0.5966 GB, free: 5.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01586/1.024, allocations: 5.284 MB / 0.6017 GB, free: 1.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/1.024, allocations: 53.38 kB / 0.6018 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.025, allocations: 96 kB / 0.6019 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.025, allocations: 128 kB / 0.602 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.03, allocations: 0.9782 MB / 0.603 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002454/1.03, allocations: 193.4 kB / 0.6032 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.036, allocations: 0.603 MB / 0.6037 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.037, allocations: 283 kB / 0.604 GB, free: 14.86 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.006057/1.043, allocations: 1.896 MB / 0.6059 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/1.044, allocations: 217.1 kB / 0.6061 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009569/1.045, allocations: 271.4 kB / 0.6063 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/1.045, allocations: 19.59 kB / 0.6063 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.045, allocations: 0 / 0.6063 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.045, allocations: 3.984 kB / 0.6063 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.063, allocations: 5.603 MB / 0.6118 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.063, allocations: 4 kB / 0.6118 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.065, allocations: 145.1 kB / 0.612 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/1.065, allocations: 8 kB / 0.612 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.065, allocations: 23.92 kB / 0.612 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/1.065, allocations: 4 kB / 0.612 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/1.065, allocations: 14.62 kB / 0.612 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/1.069, allocations: 1.789 MB / 0.6138 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.07, allocations: 290 kB / 0.614 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007685/1.071, allocations: 16 kB / 0.6141 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.072, allocations: 37.98 kB / 0.6141 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/1.072, allocations: 65.78 kB / 0.6141 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.073, allocations: 42.73 kB / 0.6142 GB, free: 4.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005149/1.078, allocations: 1.556 MB / 0.6157 GB, free: 2.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.078, allocations: 0 / 0.6157 GB, free: 2.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00815/1.086, allocations: 1.007 MB / 0.6167 GB, free: 1.785 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.0007376/1.087, allocations: 150.5 kB / 0.6168 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008218/1.095, allocations: 3.129 MB / 0.6199 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/1.095, allocations: 4 kB / 0.6199 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.097, allocations: 0.7398 MB / 0.6206 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.1, allocations: 255.1 kB / 0.6209 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.128, allocations: 9.591 MB / 0.6302 GB, free: 4.031 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008885/1.137, allocations: 2.966 MB / 0.6331 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.138, allocations: 195.4 kB / 0.6333 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/1.138, allocations: 0 / 0.6333 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of Templates: time 0.1032/1.241, allocations: 41.98 MB / 0.6743 GB, free: 7.035 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