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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 182.6 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.91 MB / 353.5 MB, free: 11.89 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.91 kB / 497.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01362/0.3631, allocations: 10.46 MB / 0.559 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.3727, allocations: 3.074 MB / 0.562 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.3754, allocations: 75.69 kB / 0.5621 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005488/0.3809, allocations: 2.71 MB / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.3839, allocations: 1.128 MB / 0.5658 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.3846, allocations: 267.5 kB / 0.5661 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.3866, allocations: 1.529 MB / 0.5676 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.3886, allocations: 1.739 MB / 0.5693 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3896, allocations: 0.9304 MB / 0.5702 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004523/0.3942, allocations: 3.442 MB / 0.5736 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004713/0.3946, allocations: 184 kB / 0.5737 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000692/0.3953, allocations: 279.8 kB / 0.574 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.3978, allocations: 3.013 MB / 0.5769 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.401, allocations: 3.333 MB / 0.5802 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.4116, allocations: 9.881 MB / 0.5899 GB, free: 5.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4116, allocations: 0 / 0.5899 GB, free: 5.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4116, allocations: 0 / 0.5899 GB, free: 5.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003265/0.4119, allocations: 0 / 0.5899 GB, free: 5.215 MB / 430.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.01761/0.4296, allocations: 9.047 MB / 0.5987 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.4296, allocations: 12.92 kB / 0.5987 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.4314, allocations: 1.024 MB / 0.5997 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.4386, allocations: 3.747 MB / 0.6034 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.4388, allocations: 127.3 kB / 0.6035 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.4392, allocations: 175.8 kB / 0.6036 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.4504, allocations: 6.597 MB / 0.6101 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.4504, allocations: 11.94 kB / 0.6101 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.4505, allocations: 79.94 kB / 0.6102 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001894/0.4524, allocations: 1.553 MB / 0.6117 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008291/0.4607, allocations: 4.144 MB / 0.6157 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.4938, allocations: 20.25 MB / 0.6355 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.4955, allocations: 342 kB / 0.6358 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4956, allocations: 56.83 kB / 0.6359 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/0.5006, allocations: 1.913 MB / 0.6378 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/0.5007, allocations: 117.8 kB / 0.6379 GB, free: 3.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.5007, allocations: 0 / 0.6379 GB, free: 3.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001534/0.5022, allocations: 0.8786 MB / 0.6387 GB, free: 2.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.5023, allocations: 126.7 kB / 0.6389 GB, free: 2.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0204/0.5227, allocations: 10.56 MB / 0.6492 GB, free: 7.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5227, allocations: 25.7 kB / 0.6492 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007066/0.5298, allocations: 5.965 MB / 0.655 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.53, allocations: 91.91 kB / 0.6551 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.531, allocations: 0.8338 MB / 0.6559 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5312, allocations: 305.1 kB / 0.6562 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.5323, allocations: 0.7616 MB / 0.657 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/0.5363, allocations: 3.999 MB / 0.6609 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/0.5423, allocations: 5.201 MB / 0.6659 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.619e-05/0.5424, allocations: 32 kB / 0.666 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00899/0.5514, allocations: 4.972 MB / 0.6708 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.5514, allocations: 52 kB / 0.6709 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.5516, allocations: 120 kB / 0.671 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.5517, allocations: 152 kB / 0.6711 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.5542, allocations: 0.9863 MB / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002026/0.5544, allocations: 227.1 kB / 0.6723 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.5585, allocations: 0.6205 MB / 0.6729 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004423/0.5589, allocations: 284 kB / 0.6732 GB, free: 11.81 MB / 0.5137 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.005443/0.5644, allocations: 3.409 MB / 0.6765 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/0.5657, allocations: 0.956 MB / 0.6775 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.5675, allocations: 1.023 MB / 0.6784 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.5676, allocations: 180.3 kB / 0.6786 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-05/0.5677, allocations: 180.3 kB / 0.6788 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.942e-05/0.5677, allocations: 184.2 kB / 0.679 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008872/0.5766, allocations: 5.106 MB / 0.684 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-05/0.5767, allocations: 105 kB / 0.6841 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.5767, allocations: 112.9 kB / 0.6842 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.5e-05/0.5768, allocations: 180.3 kB / 0.6843 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.5769, allocations: 184.2 kB / 0.6845 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001323/0.577, allocations: 180.3 kB / 0.6847 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.009e-05/0.5771, allocations: 180.2 kB / 0.6849 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.5788, allocations: 1.203 MB / 0.686 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/0.5807, allocations: 0.8817 MB / 0.6869 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005789/0.5812, allocations: 180.3 kB / 0.6871 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/0.582, allocations: 101 kB / 0.6872 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.5821, allocations: 184.2 kB / 0.6873 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.5822, allocations: 101 kB / 0.6874 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01534/0.5975, allocations: 7.15 MB / 0.6944 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5975, allocations: 0 / 0.6944 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005196/0.6027, allocations: 1.141 MB / 0.6955 GB, free: 4.742 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.0002401/0.6029, allocations: 170.5 kB / 0.6957 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.6065, allocations: 1.807 MB / 0.6975 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.6065, allocations: 1.938 kB / 0.6975 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.6065, allocations: 0 / 0.6975 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/0.6207, allocations: 3.447 MB / 0.7008 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/0.65, allocations: 15.95 MB / 0.7164 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00745/0.6574, allocations: 5.281 MB / 0.7216 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006499/0.6639, allocations: 2.098 MB / 0.7236 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.665, allocations: 403.4 kB / 0.724 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of SimCode: time 2.294e-06/0.665, allocations: 4 kB / 0.724 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of Templates: time 0.6984/1.363, allocations: 86.08 MB / 0.8081 GB, free: 90.36 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.58729329612106]