Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 0.4914 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1506, allocations: 66 MB / 0.5558 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01313/0.1638, allocations: 10.41 MB / 0.566 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007722/0.1715, allocations: 3.083 MB / 0.569 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.1736, allocations: 79.62 kB / 0.5691 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00563/0.1792, allocations: 2.702 MB / 0.5717 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.1824, allocations: 1.066 MB / 0.5728 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.1832, allocations: 263.5 kB / 0.573 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.1856, allocations: 1.517 MB / 0.5745 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.1881, allocations: 2.059 MB / 0.5765 GB, free: 36 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1896, allocations: 0.9227 MB / 0.5774 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005016/0.1946, allocations: 3.394 MB / 0.5807 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005685/0.1952, allocations: 192 kB / 0.5809 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.196, allocations: 283.8 kB / 0.5812 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002834/0.1988, allocations: 3.004 MB / 0.5841 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003704/0.2025, allocations: 3.333 MB / 0.5874 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3277/0.5301, allocations: 9.87 MB / 0.597 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5302, allocations: 0 / 0.597 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5302, allocations: 0 / 0.597 GB, free: 14.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004084/0.5306, allocations: 0 / 0.597 GB, free: 14.76 MB / 446.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.02108/0.5516, allocations: 9.111 MB / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.5517, allocations: 10.64 kB / 0.6059 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.5543, allocations: 1.025 MB / 0.6069 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008317/0.5626, allocations: 3.83 MB / 0.6107 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5628, allocations: 127.5 kB / 0.6108 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.563, allocations: 170 kB / 0.611 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.5737, allocations: 6.602 MB / 0.6174 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.5737, allocations: 9.344 kB / 0.6174 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.5739, allocations: 77.03 kB / 0.6175 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001878/0.5758, allocations: 1.561 MB / 0.619 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.5838, allocations: 4.132 MB / 0.623 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03936/0.6232, allocations: 20.3 MB / 0.6429 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.6249, allocations: 334.2 kB / 0.6432 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.625, allocations: 68.09 kB / 0.6433 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006629/0.6316, allocations: 3.284 MB / 0.6465 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.794e-05/0.6317, allocations: 108.4 kB / 0.6466 GB, free: 1.016 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.6317, allocations: 0 / 0.6466 GB, free: 1.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001713/0.6334, allocations: 0.8748 MB / 0.6474 GB, free: 132 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.6335, allocations: 131.9 kB / 0.6475 GB, free: 15.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02216/0.6557, allocations: 10.56 MB / 0.6579 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.6557, allocations: 28.98 kB / 0.6579 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006864/0.6626, allocations: 5.954 MB / 0.6637 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6627, allocations: 96.05 kB / 0.6638 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.6639, allocations: 0.8261 MB / 0.6646 GB, free: 14.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.664, allocations: 301.1 kB / 0.6649 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.6653, allocations: 0.7616 MB / 0.6656 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004228/0.6695, allocations: 3.996 MB / 0.6695 GB, free: 7.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006307/0.6758, allocations: 5.206 MB / 0.6746 GB, free: 1.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-05/0.6759, allocations: 36 kB / 0.6746 GB, free: 1.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01022/0.6861, allocations: 4.964 MB / 0.6795 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.6862, allocations: 56 kB / 0.6796 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.6863, allocations: 118.1 kB / 0.6797 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.6865, allocations: 156 kB / 0.6798 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.6889, allocations: 0.9902 MB / 0.6808 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001716/0.6891, allocations: 223.2 kB / 0.681 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/0.694, allocations: 0.6119 MB / 0.6816 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.6944, allocations: 288 kB / 0.6819 GB, free: 10.54 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.006889/0.7013, allocations: 3.409 MB / 0.6852 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002464/0.7038, allocations: 0.956 MB / 0.6861 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.7074, allocations: 1.027 MB / 0.6871 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.071e-05/0.7075, allocations: 176.3 kB / 0.6873 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/0.7076, allocations: 188.2 kB / 0.6875 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-05/0.7077, allocations: 176.3 kB / 0.6876 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.7204, allocations: 5.134 MB / 0.6927 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/0.7205, allocations: 108.9 kB / 0.6928 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.7205, allocations: 105 kB / 0.6929 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.534e-05/0.7206, allocations: 184.2 kB / 0.693 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/0.7207, allocations: 180.3 kB / 0.6932 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.524e-05/0.7208, allocations: 180.3 kB / 0.6934 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-05/0.7209, allocations: 184.2 kB / 0.6936 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.7233, allocations: 1.203 MB / 0.6947 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.7252, allocations: 0.9492 MB / 0.6957 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005885/0.7258, allocations: 180.3 kB / 0.6958 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.7266, allocations: 104.9 kB / 0.6959 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.7267, allocations: 180.3 kB / 0.6961 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.7268, allocations: 112.8 kB / 0.6962 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01425/0.741, allocations: 7.142 MB / 0.7032 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.741, allocations: 4 kB / 0.7032 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005402/0.7464, allocations: 1.134 MB / 0.7043 GB, free: 3.371 MB / 0.5137 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.000202/0.7466, allocations: 173.3 kB / 0.7045 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003272/0.7499, allocations: 1.808 MB / 0.7062 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7499, allocations: 0 / 0.7062 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.7499, allocations: 0 / 0.7062 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/0.7651, allocations: 3.448 MB / 0.7096 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.795, allocations: 15.94 MB / 0.7252 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007569/0.8026, allocations: 5.273 MB / 0.7303 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006552/0.8091, allocations: 2.098 MB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000927/0.81, allocations: 403.4 kB / 0.7327 GB, free: 6.184 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.81, allocations: 4 kB / 0.7328 GB, free: 6.18 MB / 0.545 GB Notification: Performance of Templates: time 0.1736/0.9837, allocations: 83.73 MB / 0.8145 GB, free: 3.297 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.369873743504286]