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.001127/0.001127, allocations: 106.6 kB / 17.2 MB, free: 6.289 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.00119/0.00119, allocations: 194 kB / 18.12 MB, free: 5.383 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.35 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.2216/0.2216, allocations: 44.18 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 60.81 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0297/0.1755, allocations: 28.69 MB / 497.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.1912, allocations: 5.624 MB / 0.4911 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007195/0.1985, allocations: 111.8 kB / 0.4912 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.2018, allocations: 1.266 MB / 0.4924 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.2057, allocations: 1.164 MB / 0.4935 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2062, allocations: 71.92 kB / 0.4936 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.2113, allocations: 4.039 MB / 0.4975 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.2144, allocations: 1.847 MB / 0.4993 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.2168, allocations: 0.9142 MB / 0.5002 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.2196, allocations: 1.526 MB / 0.5017 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005805/0.2202, allocations: 152 kB / 0.5019 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2214, allocations: 467.3 kB / 0.5023 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3002/0.5217, allocations: 1.361 MB / 0.5037 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.5245, allocations: 1.674 MB / 0.5053 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.5326, allocations: 5.155 MB / 0.5103 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5326, allocations: 2.203 kB / 0.5103 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5326, allocations: 0 / 0.5103 GB, free: 12.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.5329, allocations: 0 / 0.5103 GB, free: 12.58 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.009294/0.5422, allocations: 3.598 MB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.5422, allocations: 9.406 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.5523, allocations: 2.936 MB / 0.5167 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.5567, allocations: 1.531 MB / 0.5182 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.5569, allocations: 174.5 kB / 0.5184 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006966/0.5576, allocations: 220.2 kB / 0.5186 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.5737, allocations: 9.479 MB / 0.5278 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.5738, allocations: 17.84 kB / 0.5279 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.5742, allocations: 107.9 kB / 0.528 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.5773, allocations: 2.374 MB / 0.5303 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.5911, allocations: 8.677 MB / 0.5388 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04314/0.6343, allocations: 29.3 MB / 0.5674 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005113/0.6395, allocations: 3.044 MB / 0.5703 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.6409, allocations: 0.9765 MB / 0.5713 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008388/0.6493, allocations: 4.839 MB / 0.576 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.6493, allocations: 43.2 kB / 0.5761 GB, free: 12.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/0.6493, allocations: 4 kB / 0.5761 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006042/0.6554, allocations: 2.737 MB / 0.5787 GB, free: 9.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.6554, allocations: 60.06 kB / 0.5788 GB, free: 9.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.6593, allocations: 2.569 MB / 0.5813 GB, free: 7.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6595, allocations: 37.7 kB / 0.5813 GB, free: 7.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.6613, allocations: 2.647 MB / 0.5839 GB, free: 4.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/0.6618, allocations: 495.9 kB / 0.5844 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.6629, allocations: 0.9035 MB / 0.5853 GB, free: 2.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.6632, allocations: 369.8 kB / 0.5856 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.6651, allocations: 1.354 MB / 0.5869 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.6685, allocations: 4.12 MB / 0.591 GB, free: 11.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006602/0.6752, allocations: 5.956 MB / 0.5968 GB, free: 4.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.757e-05/0.6753, allocations: 31.98 kB / 0.5968 GB, free: 4.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00886/0.6841, allocations: 5.287 MB / 0.602 GB, free: 120 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.6842, allocations: 44 kB / 0.602 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.6844, allocations: 100 kB / 0.6021 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.6845, allocations: 128 kB / 0.6022 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/0.6873, allocations: 0.9738 MB / 0.6032 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/0.6874, allocations: 195.1 kB / 0.6034 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.6904, allocations: 0.6094 MB / 0.604 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/0.6908, allocations: 276 kB / 0.6042 GB, free: 13.93 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.004193/0.695, allocations: 1.896 MB / 0.6061 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.6955, allocations: 213.1 kB / 0.6063 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.696, allocations: 279.4 kB / 0.6066 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.6961, allocations: 16 kB / 0.6066 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6961, allocations: 0 / 0.6066 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6961, allocations: 7.984 kB / 0.6066 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/0.7057, allocations: 5.603 MB / 0.6121 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.7058, allocations: 4.062 kB / 0.6121 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.7063, allocations: 140 kB / 0.6122 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.7064, allocations: 8 kB / 0.6122 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.7064, allocations: 23.44 kB / 0.6122 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.7064, allocations: 10.53 kB / 0.6122 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7065, allocations: 7.984 kB / 0.6122 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.7087, allocations: 1.793 MB / 0.614 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.7093, allocations: 286 kB / 0.6143 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7095, allocations: 18.81 kB / 0.6143 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.7101, allocations: 50.14 kB / 0.6143 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.7102, allocations: 55.06 kB / 0.6144 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.7103, allocations: 43.36 kB / 0.6144 GB, free: 3.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.7124, allocations: 1.56 MB / 0.6159 GB, free: 1.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7124, allocations: 0 / 0.6159 GB, free: 1.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004024/0.7164, allocations: 1.007 MB / 0.6169 GB, free: 0.8555 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.0004266/0.7169, allocations: 152.6 kB / 0.6171 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004841/0.7217, allocations: 3.125 MB / 0.6201 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.7218, allocations: 0 / 0.6201 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.7226, allocations: 0.7438 MB / 0.6209 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.7241, allocations: 251.4 kB / 0.6211 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.7373, allocations: 9.161 MB / 0.63 GB, free: 3.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.7407, allocations: 2.967 MB / 0.6329 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003332/0.7441, allocations: 1.481 MB / 0.6344 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.7445, allocations: 159.4 kB / 0.6345 GB, free: 14.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.442e-06/0.7445, allocations: 0 / 0.6345 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03956/0.7841, allocations: 17.93 MB / 0.652 GB, free: 13.12 MB / 0.4981 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