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.0008378/0.0008377, allocations: 95.08 kB / 18 MB, free: 5.602 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.0008497/0.0008497, allocations: 181.6 kB / 18.91 MB, free: 4.738 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.33/1.33, allocations: 223.3 MB / 243 MB, free: 14.43 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.1924/0.1924, allocations: 44.24 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003336, allocations: 11.98 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2784/0.3944, allocations: 54.43 MB / 0.515 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.4201, allocations: 10.32 MB / 0.5251 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/0.4331, allocations: 241.5 kB / 0.5253 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.4345, allocations: 263 kB / 0.5256 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.438, allocations: 0.9666 MB / 0.5265 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.439, allocations: 254.6 kB / 0.5267 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.4427, allocations: 2.548 MB / 0.5292 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.4471, allocations: 3.17 MB / 0.5323 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.4486, allocations: 0.6751 MB / 0.533 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.4524, allocations: 3.284 MB / 0.5362 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.4528, allocations: 71.09 kB / 0.5363 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.4534, allocations: 172.8 kB / 0.5364 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.4553, allocations: 2.852 MB / 0.5392 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.4573, allocations: 3.152 MB / 0.5423 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.4636, allocations: 6.621 MB / 0.5487 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4637, allocations: 1.469 kB / 0.5488 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4637, allocations: 0 / 0.5488 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004329/0.4641, allocations: 0 / 0.5488 GB, free: 12.69 MB / 398.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.01221/0.4763, allocations: 7.476 MB / 0.5561 GB, free: 5.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4764, allocations: 8.031 kB / 0.5561 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4782, allocations: 0.9705 MB / 0.557 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007626/0.4859, allocations: 3.727 MB / 0.5606 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.486, allocations: 130.3 kB / 0.5608 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.4864, allocations: 165 kB / 0.5609 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5002, allocations: 6.603 MB / 0.5674 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/0.5003, allocations: 11.92 kB / 0.5674 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.5005, allocations: 74.3 kB / 0.5675 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002474/0.503, allocations: 1.563 MB / 0.569 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.5144, allocations: 4.133 MB / 0.573 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04457/0.559, allocations: 20.4 MB / 0.5929 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.5614, allocations: 338.2 kB / 0.5933 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5616, allocations: 56.83 kB / 0.5933 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00693/0.5685, allocations: 3.266 MB / 0.5965 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.5686, allocations: 113.9 kB / 0.5966 GB, free: 11.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.5687, allocations: 4 kB / 0.5966 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001566/0.5702, allocations: 0.8424 MB / 0.5974 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.5703, allocations: 126.7 kB / 0.5976 GB, free: 10.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02957/0.5999, allocations: 10.55 MB / 0.6079 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6, allocations: 29.7 kB / 0.6079 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00991/0.6099, allocations: 5.831 MB / 0.6136 GB, free: 9.941 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.6102, allocations: 95.89 kB / 0.6137 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008562/0.6111, allocations: 346.8 kB / 0.614 GB, free: 9.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6113, allocations: 305.1 kB / 0.6143 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.6135, allocations: 0.7655 MB / 0.615 GB, free: 8.426 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.6189, allocations: 3.995 MB / 0.6189 GB, free: 2.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008191/0.6271, allocations: 5.204 MB / 0.624 GB, free: 11.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/0.6273, allocations: 32 kB / 0.6241 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01549/0.6428, allocations: 4.916 MB / 0.6289 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.643, allocations: 56.19 kB / 0.6289 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/0.6433, allocations: 120 kB / 0.629 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.6436, allocations: 155.9 kB / 0.6292 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/0.6483, allocations: 0.9901 MB / 0.6301 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/0.6487, allocations: 227.1 kB / 0.6304 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007369/0.6561, allocations: 0.603 MB / 0.631 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008878/0.657, allocations: 284 kB / 0.6312 GB, free: 4.5 MB / 478.1 MB 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.009717/0.6668, allocations: 3.401 MB / 0.6345 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/0.6692, allocations: 0.9082 MB / 0.6354 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.6728, allocations: 1.027 MB / 0.6364 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.9e-05/0.6729, allocations: 184.2 kB / 0.6366 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.997e-05/0.673, allocations: 180.3 kB / 0.6368 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.661e-05/0.6732, allocations: 176.3 kB / 0.637 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.6879, allocations: 5.132 MB / 0.642 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/0.688, allocations: 105 kB / 0.6421 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.688, allocations: 116.8 kB / 0.6422 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.404e-05/0.6881, allocations: 180.3 kB / 0.6423 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.6882, allocations: 180.2 kB / 0.6425 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.579e-05/0.6882, allocations: 180.2 kB / 0.6427 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-05/0.6883, allocations: 181.3 kB / 0.6429 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.6899, allocations: 1.171 MB / 0.644 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.6917, allocations: 0.8975 MB / 0.6449 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/0.6926, allocations: 184.1 kB / 0.6451 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.6935, allocations: 105 kB / 0.6452 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.6935, allocations: 188.2 kB / 0.6453 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.6936, allocations: 105 kB / 0.6454 GB, free: 5.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.013/0.7066, allocations: 7.142 MB / 0.6524 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.6e-07/0.7066, allocations: 4 kB / 0.6524 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004699/0.7113, allocations: 1.128 MB / 0.6535 GB, free: 13.45 MB / 0.4981 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.0001791/0.7115, allocations: 171.1 kB / 0.6537 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.7144, allocations: 1.87 MB / 0.6555 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.7145, allocations: 0 / 0.6555 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.7145, allocations: 0 / 0.6555 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01412/0.7286, allocations: 3.234 MB / 0.6587 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/0.7606, allocations: 19.61 MB / 0.6778 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008251/0.7689, allocations: 5.286 MB / 0.683 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.77, allocations: 435.4 kB / 0.6834 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.77, allocations: 0 / 0.6834 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.4171/1.187, allocations: 125.4 MB / 0.8059 GB, free: 118.1 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/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