Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2235/0.2235, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.88 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3554, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01277/0.3682, allocations: 10.43 MB / 0.5714 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006366/0.3746, allocations: 3.109 MB / 0.5744 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.3754, allocations: 67.81 kB / 0.5745 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005034/0.3805, allocations: 2.718 MB / 0.5771 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3827, allocations: 1.07 MB / 0.5782 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.3833, allocations: 267.5 kB / 0.5784 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.385, allocations: 1.509 MB / 0.5799 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.3871, allocations: 1.742 MB / 0.5816 GB, free: 28 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3881, allocations: 0.9149 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.3923, allocations: 3.405 MB / 0.5858 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.3927, allocations: 188 kB / 0.586 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.3933, allocations: 279.8 kB / 0.5863 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3959, allocations: 3.012 MB / 0.5892 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00315/0.399, allocations: 3.333 MB / 0.5925 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4114, allocations: 9.87 MB / 0.6021 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.4114, allocations: 0 / 0.6021 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4114, allocations: 4 kB / 0.6021 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004351/0.4119, allocations: 0 / 0.6021 GB, free: 10.93 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.01537/0.4272, allocations: 9.114 MB / 0.611 GB, free: 1.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4273, allocations: 8.031 kB / 0.611 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4287, allocations: 1.024 MB / 0.612 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.4354, allocations: 3.827 MB / 0.6157 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.4355, allocations: 131.3 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.4357, allocations: 171.9 kB / 0.616 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009058/0.4448, allocations: 6.612 MB / 0.6225 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.4448, allocations: 3.938 kB / 0.6225 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.445, allocations: 75.94 kB / 0.6226 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.4468, allocations: 1.561 MB / 0.6241 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006996/0.4538, allocations: 4.133 MB / 0.6281 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.4879, allocations: 20.3 MB / 0.648 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.4895, allocations: 345.8 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4897, allocations: 60.84 kB / 0.6483 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005946/0.4956, allocations: 3.273 MB / 0.6515 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.4957, allocations: 109.8 kB / 0.6516 GB, free: 7.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.4957, allocations: 4 kB / 0.6516 GB, free: 7.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000997/0.4967, allocations: 0.8786 MB / 0.6525 GB, free: 6.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.4967, allocations: 126.7 kB / 0.6526 GB, free: 6.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01546/0.5122, allocations: 10.55 MB / 0.6629 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5122, allocations: 25.7 kB / 0.663 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005678/0.5179, allocations: 5.965 MB / 0.6688 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.518, allocations: 95.89 kB / 0.6689 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009274/0.519, allocations: 0.8222 MB / 0.6697 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5191, allocations: 305.1 kB / 0.67 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.5202, allocations: 0.7616 MB / 0.6707 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/0.5241, allocations: 3.999 MB / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005792/0.5299, allocations: 5.204 MB / 0.6797 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-05/0.5299, allocations: 32 kB / 0.6797 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008289/0.5382, allocations: 4.964 MB / 0.6846 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.5383, allocations: 56 kB / 0.6846 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.5384, allocations: 120 kB / 0.6847 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.5386, allocations: 152 kB / 0.6849 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.541, allocations: 0.9825 MB / 0.6858 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001878/0.5412, allocations: 223.1 kB / 0.6861 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.5447, allocations: 0.6247 MB / 0.6867 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.545, allocations: 284 kB / 0.6869 GB, free: 15.63 MB / 0.5294 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.005839/0.5508, allocations: 3.405 MB / 0.6903 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/0.5525, allocations: 0.9639 MB / 0.6912 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.5551, allocations: 1.027 MB / 0.6922 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.5553, allocations: 176.3 kB / 0.6924 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001183/0.5554, allocations: 180.3 kB / 0.6926 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001296/0.5555, allocations: 184.2 kB / 0.6927 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.5706, allocations: 5.131 MB / 0.6977 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.09e-05/0.5706, allocations: 104.9 kB / 0.6978 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.5707, allocations: 105 kB / 0.6979 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.5708, allocations: 184.3 kB / 0.6981 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.5709, allocations: 188.1 kB / 0.6983 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001176/0.5711, allocations: 176.3 kB / 0.6985 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000124/0.5712, allocations: 184.2 kB / 0.6986 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.5736, allocations: 1.199 MB / 0.6998 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/0.5771, allocations: 0.9492 MB / 0.7007 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/0.5785, allocations: 180.3 kB / 0.7009 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.5804, allocations: 108.9 kB / 0.701 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5805, allocations: 176.3 kB / 0.7012 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5806, allocations: 113 kB / 0.7013 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.02181/0.6024, allocations: 7.138 MB / 0.7083 GB, free: 9.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6024, allocations: 0 / 0.7083 GB, free: 9.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007596/0.61, allocations: 1.145 MB / 0.7094 GB, free: 8.449 MB / 0.545 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.0002434/0.6103, allocations: 178.5 kB / 0.7095 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005565/0.6158, allocations: 1.8 MB / 0.7113 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6158, allocations: 0 / 0.7113 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-06/0.6158, allocations: 0.6875 kB / 0.7113 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02599/0.6418, allocations: 3.453 MB / 0.7147 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/0.6755, allocations: 15.93 MB / 0.7302 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4952/1.171, allocations: 5.278 MB / 0.7354 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005835/1.177, allocations: 2.099 MB / 0.7374 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/1.177, allocations: 403.1 kB / 0.7378 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/1.177, allocations: 0 / 0.7378 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1294/1.307, allocations: 84.57 MB / 0.8204 GB, free: 70.98 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.200225192122161]