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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 211.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.2 MB / 256.7 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2231/0.2231, allocations: 46.88 MB / 359.9 MB, free: 5.008 MB / 286.1 MB [Timeout remaining time 90] 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.002297/0.002297, allocations: 75.88 kB / 0.4949 GB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2989, allocations: 65.99 MB / 0.5594 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01229/0.3112, allocations: 10.4 MB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.318, allocations: 3.094 MB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.3195, allocations: 63.88 kB / 0.5726 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005318/0.3249, allocations: 2.71 MB / 0.5753 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.3278, allocations: 1.062 MB / 0.5763 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.3285, allocations: 271.5 kB / 0.5766 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3307, allocations: 1.513 MB / 0.578 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.3333, allocations: 2.061 MB / 0.5801 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.3349, allocations: 0.9109 MB / 0.5809 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.34, allocations: 3.409 MB / 0.5843 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.3406, allocations: 188 kB / 0.5845 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.3415, allocations: 279.8 kB / 0.5847 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.3442, allocations: 3.008 MB / 0.5877 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.3475, allocations: 3.337 MB / 0.5909 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3576, allocations: 9.877 MB / 0.6006 GB, free: 10.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3577, allocations: 4 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3577, allocations: 0 / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000264/0.3579, allocations: 0 / 0.6006 GB, free: 10.8 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.01425/0.3722, allocations: 9.11 MB / 0.6095 GB, free: 1.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.3722, allocations: 12.03 kB / 0.6095 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3736, allocations: 1.028 MB / 0.6105 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/0.3797, allocations: 3.815 MB / 0.6142 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3798, allocations: 135.3 kB / 0.6143 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.38, allocations: 171.9 kB / 0.6145 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009088/0.3891, allocations: 6.604 MB / 0.6209 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.3891, allocations: 11.88 kB / 0.621 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.3893, allocations: 79.94 kB / 0.621 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/0.3911, allocations: 1.561 MB / 0.6226 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007251/0.3983, allocations: 4.133 MB / 0.6266 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/0.4282, allocations: 20.3 MB / 0.6464 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.4298, allocations: 342 kB / 0.6467 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.4299, allocations: 59.02 kB / 0.6468 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004723/0.4346, allocations: 3.273 MB / 0.65 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.4347, allocations: 109.9 kB / 0.6501 GB, free: 7.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.4347, allocations: 0 / 0.6501 GB, free: 7.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001011/0.4357, allocations: 0.8825 MB / 0.651 GB, free: 6.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.4358, allocations: 130.7 kB / 0.6511 GB, free: 6.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/0.4517, allocations: 10.55 MB / 0.6614 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4517, allocations: 33.7 kB / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005837/0.4576, allocations: 5.958 MB / 0.6672 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.4577, allocations: 91.91 kB / 0.6673 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009742/0.4587, allocations: 0.8261 MB / 0.6681 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4588, allocations: 305.1 kB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.46, allocations: 0.7616 MB / 0.6692 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.4638, allocations: 3.999 MB / 0.6731 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/0.4696, allocations: 5.197 MB / 0.6782 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.228e-05/0.4697, allocations: 36 kB / 0.6782 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0083/0.478, allocations: 4.968 MB / 0.683 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.4781, allocations: 59.94 kB / 0.6831 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.4782, allocations: 116 kB / 0.6832 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.4784, allocations: 152 kB / 0.6834 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.4808, allocations: 0.9863 MB / 0.6843 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002031/0.481, allocations: 231.1 kB / 0.6845 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/0.4846, allocations: 0.6172 MB / 0.6851 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/0.485, allocations: 284 kB / 0.6854 GB, free: 15.51 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.005181/0.4901, allocations: 3.413 MB / 0.6887 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/0.4915, allocations: 0.9561 MB / 0.6897 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.4933, allocations: 1.019 MB / 0.6907 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.142e-05/0.4934, allocations: 184.2 kB / 0.6908 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.987e-05/0.4935, allocations: 176.3 kB / 0.691 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.665e-05/0.4936, allocations: 188.1 kB / 0.6912 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007767/0.5013, allocations: 5.138 MB / 0.6962 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.737e-05/0.5014, allocations: 105 kB / 0.6963 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.5014, allocations: 104.9 kB / 0.6964 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/0.5015, allocations: 176.3 kB / 0.6966 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.5016, allocations: 180.2 kB / 0.6968 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-05/0.5017, allocations: 192.2 kB / 0.6969 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.5018, allocations: 180.3 kB / 0.6971 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.503, allocations: 1.195 MB / 0.6983 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.5045, allocations: 0.9492 MB / 0.6992 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.505, allocations: 180.3 kB / 0.6994 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.5059, allocations: 109 kB / 0.6995 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.506, allocations: 184.2 kB / 0.6997 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.506, allocations: 101 kB / 0.6997 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01214/0.5182, allocations: 7.142 MB / 0.7067 GB, free: 9.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5182, allocations: 0 / 0.7067 GB, free: 9.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004415/0.5226, allocations: 1.149 MB / 0.7078 GB, free: 8.328 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.0001963/0.5228, allocations: 170.5 kB / 0.708 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.5259, allocations: 1.804 MB / 0.7098 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.5259, allocations: 0.875 kB / 0.7098 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.5259, allocations: 0 / 0.7098 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/0.5379, allocations: 3.451 MB / 0.7131 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/0.567, allocations: 16.69 MB / 0.7294 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4683/1.035, allocations: 5.269 MB / 0.7346 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/1.036, allocations: 438.8 kB / 0.735 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.012e-06/1.036, allocations: 0 / 0.735 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1595/1.195, allocations: 127.7 MB / 0.8597 GB, free: 29.38 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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