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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 99.78 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4622/0.4622, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.00177, allocations: 63.84 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3796, allocations: 62.01 MB / 0.5151 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02064/0.4003, allocations: 28.72 MB / 0.5432 GB, free: 17.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4118, allocations: 5.663 MB / 0.5487 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005898/0.4178, allocations: 116.2 kB / 0.5488 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.4205, allocations: 1.288 MB / 0.5501 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.4236, allocations: 1.16 MB / 0.5512 GB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.424, allocations: 71.73 kB / 0.5513 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.4296, allocations: 4.061 MB / 0.5553 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.433, allocations: 1.834 MB / 0.5571 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.435, allocations: 0.9229 MB / 0.558 GB, free: 9.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.4377, allocations: 1.528 MB / 0.5594 GB, free: 9.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006745/0.4383, allocations: 152.8 kB / 0.5596 GB, free: 9.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.4397, allocations: 457.9 kB / 0.56 GB, free: 9.312 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.4411, allocations: 1.365 MB / 0.5614 GB, free: 8.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.4426, allocations: 1.68 MB / 0.563 GB, free: 7.293 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.4474, allocations: 5.151 MB / 0.568 GB, free: 3.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4474, allocations: 0 / 0.568 GB, free: 3.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4474, allocations: 0 / 0.568 GB, free: 3.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001653/0.4476, allocations: 0 / 0.568 GB, free: 3.262 MB / 378.7 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.005908/0.4535, allocations: 3.612 MB / 0.5716 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4536, allocations: 11.97 kB / 0.5716 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.4638, allocations: 2.936 MB / 0.5744 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.468, allocations: 1.53 MB / 0.5759 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4682, allocations: 172.6 kB / 0.5761 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006302/0.4688, allocations: 228 kB / 0.5763 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.4844, allocations: 9.476 MB / 0.5856 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.4845, allocations: 19.81 kB / 0.5856 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/0.4848, allocations: 107.8 kB / 0.5857 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.4886, allocations: 2.365 MB / 0.588 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.5058, allocations: 8.671 MB / 0.5965 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07085/0.5767, allocations: 29.31 MB / 0.6251 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008884/0.5856, allocations: 3.057 MB / 0.6281 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.5882, allocations: 0.9804 MB / 0.629 GB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/0.6045, allocations: 4.83 MB / 0.6337 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/0.6046, allocations: 43.22 kB / 0.6338 GB, free: 14.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 9.999e-06/0.6047, allocations: 0 / 0.6338 GB, free: 14.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.01116/0.6158, allocations: 2.736 MB / 0.6365 GB, free: 11.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.616, allocations: 60.06 kB / 0.6365 GB, free: 11.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006794/0.6228, allocations: 2.573 MB / 0.639 GB, free: 8.703 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.623, allocations: 41.7 kB / 0.6391 GB, free: 8.656 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003206/0.6262, allocations: 2.641 MB / 0.6416 GB, free: 5.977 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008887/0.6272, allocations: 0.4898 MB / 0.6421 GB, free: 5.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002576/0.6298, allocations: 0.8967 MB / 0.643 GB, free: 4.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.63, allocations: 361.9 kB / 0.6433 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.6334, allocations: 1.355 MB / 0.6447 GB, free: 2.848 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/0.6403, allocations: 4.114 MB / 0.6487 GB, free: 13.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.652, allocations: 5.96 MB / 0.6545 GB, free: 6.008 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000203/0.6523, allocations: 28 kB / 0.6545 GB, free: 5.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0188/0.6712, allocations: 5.294 MB / 0.6597 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.6714, allocations: 52.03 kB / 0.6598 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002302/0.6717, allocations: 100 kB / 0.6598 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.672, allocations: 128 kB / 0.66 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/0.6773, allocations: 0.9708 MB / 0.6609 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000277/0.6776, allocations: 195.2 kB / 0.6611 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005561/0.6832, allocations: 0.5992 MB / 0.6617 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009986/0.6842, allocations: 280 kB / 0.662 GB, free: 14.37 MB / 490.7 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.005007/0.6892, allocations: 1.9 MB / 0.6638 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/0.6899, allocations: 209.2 kB / 0.664 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/0.6909, allocations: 271.4 kB / 0.6643 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.691, allocations: 16 kB / 0.6643 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.691, allocations: 3.938 kB / 0.6643 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.691, allocations: 3.984 kB / 0.6643 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.7085, allocations: 5.622 MB / 0.6698 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.7086, allocations: 4 kB / 0.6698 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.7097, allocations: 135.8 kB / 0.6699 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.7098, allocations: 8 kB / 0.6699 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.7099, allocations: 20 kB / 0.6699 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.7099, allocations: 12.5 kB / 0.67 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.71, allocations: 8 kB / 0.67 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.7167, allocations: 3.525 MB / 0.6734 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7178, allocations: 282.1 kB / 0.6737 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006474/0.7185, allocations: 27.92 kB / 0.6737 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.7199, allocations: 39.95 kB / 0.6737 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.7202, allocations: 64.36 kB / 0.6738 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/0.7203, allocations: 44 kB / 0.6738 GB, free: 1.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00509/0.7255, allocations: 1.56 MB / 0.6754 GB, free: 348 kB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7255, allocations: 0 / 0.6754 GB, free: 348 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.2656/0.9911, allocations: 1.009 MB / 0.6764 GB, free: 129.2 MB / 490.7 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.0003999/0.9915, allocations: 141.9 kB / 0.6765 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004974/0.9965, allocations: 3.136 MB / 0.6795 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9965, allocations: 0 / 0.6795 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.9973, allocations: 0.741 MB / 0.6803 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.9986, allocations: 234.5 kB / 0.6805 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.009, allocations: 9.972 MB / 0.6902 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/1.012, allocations: 3.007 MB / 0.6932 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003067/1.015, allocations: 1.48 MB / 0.6946 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/1.015, allocations: 158 kB / 0.6948 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/1.016, allocations: 0 / 0.6948 GB, free: 121.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04077/1.056, allocations: 18.46 MB / 0.7128 GB, free: 118.4 MB / 490.7 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches