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.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.001901/0.001901, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002582/0.002582, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.547/1.547, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2216/0.2216, allocations: 44.94 MB / 359.6 MB, free: 6.07 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 74.52 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3478, allocations: 65.48 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01308/0.3609, allocations: 9.059 MB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007558/0.3684, allocations: 2.946 MB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.3701, allocations: 79.62 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005847/0.3759, allocations: 2.601 MB / 0.5725 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.3793, allocations: 1.113 MB / 0.5736 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.3802, allocations: 271.5 kB / 0.5739 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.3827, allocations: 1.517 MB / 0.5754 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.3853, allocations: 1.905 MB / 0.5772 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.3868, allocations: 0.9265 MB / 0.5781 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.3923, allocations: 3.325 MB / 0.5814 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006178/0.3929, allocations: 196 kB / 0.5816 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.3938, allocations: 267.8 kB / 0.5818 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003338/0.3971, allocations: 3.001 MB / 0.5847 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003193/0.4003, allocations: 2.261 MB / 0.5869 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4125, allocations: 9.956 MB / 0.5967 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4125, allocations: 0 / 0.5967 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4125, allocations: 0 / 0.5967 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.4128, allocations: 0 / 0.5967 GB, free: 15.88 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.01706/0.4298, allocations: 9.039 MB / 0.6055 GB, free: 6.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.4299, allocations: 12.03 kB / 0.6055 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.4317, allocations: 1.024 MB / 0.6065 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008107/0.4398, allocations: 3.747 MB / 0.6102 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.44, allocations: 135.3 kB / 0.6103 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.4403, allocations: 171.9 kB / 0.6105 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.4511, allocations: 6.608 MB / 0.6169 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.4512, allocations: 7.938 kB / 0.6169 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.4514, allocations: 75.94 kB / 0.617 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.4534, allocations: 1.561 MB / 0.6185 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009004/0.4624, allocations: 4.133 MB / 0.6226 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.499, allocations: 18 MB / 0.6401 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.5009, allocations: 330.2 kB / 0.6404 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.501, allocations: 72.69 kB / 0.6405 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/0.507, allocations: 1.811 MB / 0.6423 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.5071, allocations: 113.9 kB / 0.6424 GB, free: 412 kB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.5071, allocations: 0 / 0.6424 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001897/0.509, allocations: 0.8711 MB / 0.6432 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/0.5091, allocations: 130.7 kB / 0.6434 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02542/0.5345, allocations: 10.68 MB / 0.6538 GB, free: 4.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.5346, allocations: 29.7 kB / 0.6538 GB, free: 4.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009086/0.5436, allocations: 5.973 MB / 0.6597 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.5438, allocations: 91.91 kB / 0.6597 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.5451, allocations: 0.826 MB / 0.6605 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5453, allocations: 312.9 kB / 0.6608 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.5468, allocations: 0.7577 MB / 0.6616 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/0.5518, allocations: 3.999 MB / 0.6655 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007447/0.5593, allocations: 5.197 MB / 0.6706 GB, free: 188 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.5594, allocations: 40 kB / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01133/0.5707, allocations: 4.952 MB / 0.6754 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-05/0.5708, allocations: 58.5 kB / 0.6755 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.571, allocations: 119.9 kB / 0.6756 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.5711, allocations: 152 kB / 0.6758 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/0.5742, allocations: 0.9863 MB / 0.6767 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000239/0.5745, allocations: 227.1 kB / 0.6769 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.5795, allocations: 0.609 MB / 0.6775 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007023/0.5802, allocations: 288 kB / 0.6778 GB, free: 8.758 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.006811/0.587, allocations: 3.409 MB / 0.6811 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/0.5887, allocations: 0.9561 MB / 0.6821 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.5911, allocations: 1.022 MB / 0.6831 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.5912, allocations: 180.2 kB / 0.6832 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001289/0.5914, allocations: 184.3 kB / 0.6834 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-05/0.5914, allocations: 180.3 kB / 0.6836 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009507/0.601, allocations: 3.794 MB / 0.6873 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.405e-05/0.601, allocations: 101 kB / 0.6874 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.6011, allocations: 112.9 kB / 0.6875 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.6012, allocations: 180.2 kB / 0.6877 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-05/0.6013, allocations: 176.3 kB / 0.6878 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001063/0.6014, allocations: 188.2 kB / 0.688 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001044/0.6015, allocations: 176.3 kB / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6033, allocations: 1.195 MB / 0.6894 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/0.6057, allocations: 0.8739 MB / 0.6902 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009971/0.6067, allocations: 180.2 kB / 0.6904 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.6078, allocations: 101 kB / 0.6905 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.608, allocations: 188.2 kB / 0.6907 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.608, allocations: 101 kB / 0.6907 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01736/0.6254, allocations: 7.093 MB / 0.6977 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6254, allocations: 0 / 0.6977 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005707/0.6311, allocations: 1.145 MB / 0.6988 GB, free: 3.105 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.0002392/0.6313, allocations: 170.5 kB / 0.699 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004259/0.6356, allocations: 1.808 MB / 0.7007 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6356, allocations: 0 / 0.7007 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.6356, allocations: 0 / 0.7007 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/0.6516, allocations: 3.431 MB / 0.7041 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/0.6859, allocations: 16.64 MB / 0.7203 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/0.6966, allocations: 4.815 MB / 0.725 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.6977, allocations: 431.4 kB / 0.7254 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.6977, allocations: 3.938 kB / 0.7254 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of Templates: time 0.6647/1.362, allocations: 131.1 MB / 0.8534 GB, free: 36.79 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.416530342772603]