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.00106/0.00106, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00108/0.00108, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.357/1.357, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2033/0.2033, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.09 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01065/0.1134, allocations: 10.38 MB / 480.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006068/0.1196, allocations: 3.044 MB / 483.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.1211, allocations: 63.81 kB / 483.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004671/0.1257, allocations: 2.671 MB / 486.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1283, allocations: 1.035 MB / 487.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.129, allocations: 271.5 kB / 487.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1308, allocations: 1.51 MB / 488.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.1332, allocations: 2.449 MB / 491.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.1344, allocations: 0.9498 MB / 492.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.1383, allocations: 3.308 MB / 495.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.1388, allocations: 188 kB / 495.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.1395, allocations: 267.8 kB / 496 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.1416, allocations: 2.927 MB / 499 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.1444, allocations: 3.337 MB / 0.4905 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007907/0.1523, allocations: 9.215 MB / 0.4995 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1523, allocations: 4 kB / 0.4995 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1524, allocations: 0 / 0.4995 GB, free: 4.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002714/0.1526, allocations: 0 / 0.4995 GB, free: 4.586 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.353/0.5057, allocations: 8.772 MB / 0.5081 GB, free: 41.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5057, allocations: 10.75 kB / 0.5081 GB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.5076, allocations: 0.9681 MB / 0.5091 GB, free: 41.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.5142, allocations: 3.72 MB / 0.5127 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5144, allocations: 125 kB / 0.5128 GB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.5146, allocations: 169.6 kB / 0.513 GB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.525, allocations: 6.607 MB / 0.5194 GB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.5251, allocations: 9.844 kB / 0.5194 GB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.5253, allocations: 83.64 kB / 0.5195 GB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/0.527, allocations: 1.559 MB / 0.521 GB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007752/0.5348, allocations: 4.138 MB / 0.5251 GB, free: 34.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02616/0.561, allocations: 20.4 MB / 0.545 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5625, allocations: 342.2 kB / 0.5453 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.5627, allocations: 59.95 kB / 0.5454 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004797/0.5675, allocations: 3.257 MB / 0.5486 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5676, allocations: 109.8 kB / 0.5487 GB, free: 9.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.5676, allocations: 0 / 0.5487 GB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.001503/0.5691, allocations: 0.8366 MB / 0.5495 GB, free: 8.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.5691, allocations: 138.6 kB / 0.5496 GB, free: 8.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/0.5865, allocations: 10.55 MB / 0.5599 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5865, allocations: 25.7 kB / 0.5599 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006698/0.5932, allocations: 5.83 MB / 0.5656 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.5935, allocations: 99.89 kB / 0.5657 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.5948, allocations: 0.8096 MB / 0.5665 GB, free: 7.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5949, allocations: 309.1 kB / 0.5668 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.5961, allocations: 0.7577 MB / 0.5676 GB, free: 6.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/0.5996, allocations: 4.003 MB / 0.5715 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.6049, allocations: 5.197 MB / 0.5765 GB, free: 9.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.324e-05/0.605, allocations: 36 kB / 0.5766 GB, free: 9.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009398/0.6144, allocations: 4.924 MB / 0.5814 GB, free: 4.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6145, allocations: 59.98 kB / 0.5814 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/0.6147, allocations: 116 kB / 0.5815 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.6148, allocations: 152 kB / 0.5817 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.6175, allocations: 0.9824 MB / 0.5827 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.6177, allocations: 223.2 kB / 0.5829 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.6221, allocations: 0.6071 MB / 0.5835 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004846/0.6226, allocations: 292 kB / 0.5837 GB, free: 2.305 MB / 414.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.005144/0.6277, allocations: 3.396 MB / 0.5871 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/0.6295, allocations: 0.9198 MB / 0.588 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.6318, allocations: 1.021 MB / 0.5889 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/0.6319, allocations: 184.2 kB / 0.5891 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.77e-05/0.632, allocations: 184.2 kB / 0.5893 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/0.632, allocations: 176.3 kB / 0.5895 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.6436, allocations: 5.131 MB / 0.5945 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/0.6437, allocations: 116.9 kB / 0.5946 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.6438, allocations: 105 kB / 0.5947 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/0.6438, allocations: 180.2 kB / 0.5949 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.6439, allocations: 178.7 kB / 0.595 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.89e-05/0.644, allocations: 180.2 kB / 0.5952 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-05/0.6441, allocations: 188.2 kB / 0.5954 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.646, allocations: 1.155 MB / 0.5965 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/0.6483, allocations: 0.8975 MB / 0.5974 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/0.6498, allocations: 176.3 kB / 0.5976 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.6516, allocations: 108.9 kB / 0.5977 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.6517, allocations: 188.3 kB / 0.5978 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.6517, allocations: 104.9 kB / 0.5979 GB, free: 3.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01482/0.6666, allocations: 7.146 MB / 0.6049 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6666, allocations: 0 / 0.6049 GB, free: 12.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005511/0.6721, allocations: 1.128 MB / 0.606 GB, free: 11.26 MB / 446.1 MB 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.0002377/0.6724, allocations: 178.5 kB / 0.6062 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003552/0.676, allocations: 1.863 MB / 0.608 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.676, allocations: 0 / 0.608 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.676, allocations: 0 / 0.608 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0168/0.6928, allocations: 3.458 MB / 0.6114 GB, free: 5.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/0.7252, allocations: 16.64 MB / 0.6276 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009322/0.7346, allocations: 5.281 MB / 0.6328 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.7356, allocations: 435.4 kB / 0.6332 GB, free: 15.38 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7357, allocations: 0 / 0.6332 GB, free: 15.38 MB / 478.1 MB Notification: Performance of Templates: time 0.4126/1.148, allocations: 126.7 MB / 0.7569 GB, free: 145.5 MB / 0.5294 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