Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 117.2 kB / 17.78 MB, free: 5.277 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.000987/0.000987, allocations: 184.2 kB / 18.71 MB, free: 4.359 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.399/1.399, allocations: 222.9 MB / 242.4 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.2089/0.2089, allocations: 44.2 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4035, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0121/0.4156, allocations: 10.39 MB / 0.529 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.4233, allocations: 3.031 MB / 0.532 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.4258, allocations: 66.22 kB / 0.5321 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005745/0.4316, allocations: 2.676 MB / 0.5347 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.4353, allocations: 1.03 MB / 0.5357 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.4362, allocations: 269.2 kB / 0.5359 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.4385, allocations: 1.521 MB / 0.5374 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.4415, allocations: 2.447 MB / 0.5398 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.4431, allocations: 0.9542 MB / 0.5407 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004817/0.448, allocations: 3.313 MB / 0.544 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.4484, allocations: 184 kB / 0.5442 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.4492, allocations: 271.8 kB / 0.5444 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.4511, allocations: 2.923 MB / 0.5473 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.454, allocations: 3.333 MB / 0.5505 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4647, allocations: 9.812 MB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4648, allocations: 0 / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4648, allocations: 4 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002971/0.4651, allocations: 0 / 0.5601 GB, free: 1.68 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01566/0.4807, allocations: 9.118 MB / 0.569 GB, free: 8.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4808, allocations: 11.97 kB / 0.569 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.482, allocations: 1.028 MB / 0.57 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005085/0.4871, allocations: 3.815 MB / 0.5738 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.4872, allocations: 135.3 kB / 0.5739 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.4874, allocations: 171.9 kB / 0.574 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008713/0.4961, allocations: 6.608 MB / 0.5805 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/0.4962, allocations: 11.94 kB / 0.5805 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.4963, allocations: 71.94 kB / 0.5806 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.4979, allocations: 1.561 MB / 0.5821 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007689/0.5056, allocations: 4.14 MB / 0.5861 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03094/0.5366, allocations: 20.32 MB / 0.606 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.5382, allocations: 345.9 kB / 0.6063 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5383, allocations: 56.83 kB / 0.6064 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004677/0.543, allocations: 3.269 MB / 0.6096 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.5431, allocations: 109.8 kB / 0.6097 GB, free: 13.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 4.989e-06/0.5431, allocations: 3.984 kB / 0.6097 GB, free: 13.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001255/0.5444, allocations: 0.8786 MB / 0.6105 GB, free: 13.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.5445, allocations: 130.7 kB / 0.6107 GB, free: 12.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/0.5625, allocations: 10.57 MB / 0.621 GB, free: 2.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5626, allocations: 25.7 kB / 0.621 GB, free: 2.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005575/0.5682, allocations: 5.958 MB / 0.6268 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.5683, allocations: 95.91 kB / 0.6269 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009473/0.5693, allocations: 0.826 MB / 0.6277 GB, free: 11.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5694, allocations: 305.1 kB / 0.628 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.5705, allocations: 0.7616 MB / 0.6287 GB, free: 10.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/0.5741, allocations: 4.003 MB / 0.6327 GB, free: 4.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/0.5794, allocations: 5.204 MB / 0.6377 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.707e-05/0.5795, allocations: 32 kB / 0.6378 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007848/0.5873, allocations: 4.96 MB / 0.6426 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.5874, allocations: 56 kB / 0.6427 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.73e-05/0.5875, allocations: 116 kB / 0.6428 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.5877, allocations: 152 kB / 0.6429 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.5899, allocations: 0.9863 MB / 0.6439 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/0.5901, allocations: 227.1 kB / 0.6441 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.5941, allocations: 0.6247 MB / 0.6447 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/0.5944, allocations: 284 kB / 0.645 GB, free: 6.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 (537): * Single equations (assignments): 537 * Array equations: 0 * 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.005127/0.5996, allocations: 3.401 MB / 0.6483 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.601, allocations: 0.9599 MB / 0.6492 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.6028, allocations: 1.019 MB / 0.6502 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.796e-05/0.6029, allocations: 180.3 kB / 0.6504 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-05/0.6029, allocations: 184.2 kB / 0.6506 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/0.603, allocations: 180.2 kB / 0.6508 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008559/0.6116, allocations: 5.139 MB / 0.6558 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.793e-05/0.6117, allocations: 105 kB / 0.6559 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.6117, allocations: 105 kB / 0.656 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.83e-05/0.6118, allocations: 180.2 kB / 0.6561 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.6119, allocations: 176.3 kB / 0.6563 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-05/0.612, allocations: 180.2 kB / 0.6565 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.581e-05/0.6121, allocations: 188.3 kB / 0.6567 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.6136, allocations: 1.207 MB / 0.6578 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.6151, allocations: 0.9453 MB / 0.6588 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/0.6157, allocations: 184.1 kB / 0.6589 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.6165, allocations: 113 kB / 0.6591 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.6166, allocations: 184.2 kB / 0.6592 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6167, allocations: 104.9 kB / 0.6593 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01375/0.6304, allocations: 7.142 MB / 0.6663 GB, free: 320 kB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6305, allocations: 0 / 0.6663 GB, free: 320 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005504/0.636, allocations: 1.149 MB / 0.6674 GB, free: 15.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002118/0.6362, allocations: 174.5 kB / 0.6676 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.6393, allocations: 1.866 MB / 0.6694 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6393, allocations: 0 / 0.6694 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.6394, allocations: 0.6875 kB / 0.6694 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/0.6523, allocations: 3.443 MB / 0.6728 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.678, allocations: 15.96 MB / 0.6884 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006361/0.6844, allocations: 5.278 MB / 0.6935 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006509/0.6909, allocations: 2.102 MB / 0.6956 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.692, allocations: 403.4 kB / 0.696 GB, free: 1.863 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.692, allocations: 0 / 0.696 GB, free: 1.863 MB / 0.545 GB Notification: Performance of Templates: time 0.6667/1.359, allocations: 83.23 MB / 0.7772 GB, free: 115.6 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches