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.001308/0.001308, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001461/0.001461, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.509/1.509, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2438/0.2438, allocations: 46.88 MB / 358.1 MB, free: 10.62 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.002289/0.002289, allocations: 83.86 kB / 0.4924 GB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 65.99 MB / 0.5568 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01222/0.1379, allocations: 10.41 MB / 0.567 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006752/0.1446, allocations: 3.083 MB / 0.57 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.1461, allocations: 67.81 kB / 0.57 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005249/0.1513, allocations: 2.702 MB / 0.5727 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.1542, allocations: 1.074 MB / 0.5737 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.1549, allocations: 267.5 kB / 0.574 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1572, allocations: 1.513 MB / 0.5755 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.1596, allocations: 2.059 MB / 0.5775 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.1611, allocations: 0.9187 MB / 0.5784 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.1661, allocations: 3.39 MB / 0.5817 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005999/0.1667, allocations: 188 kB / 0.5819 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.1675, allocations: 275.8 kB / 0.5821 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002883/0.1704, allocations: 3.008 MB / 0.5851 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.174, allocations: 3.329 MB / 0.5883 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2662/0.4402, allocations: 9.878 MB / 0.598 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4402, allocations: 0 / 0.598 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4402, allocations: 0 / 0.598 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003769/0.4406, allocations: 1.844 kB / 0.598 GB, free: 14.79 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.01674/0.4573, allocations: 9.109 MB / 0.6069 GB, free: 9.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4574, allocations: 8.938 kB / 0.6069 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.4594, allocations: 1.027 MB / 0.6079 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/0.4673, allocations: 3.831 MB / 0.6116 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.4674, allocations: 129.7 kB / 0.6117 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.4677, allocations: 171.7 kB / 0.6119 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4779, allocations: 6.601 MB / 0.6183 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.478, allocations: 11.5 kB / 0.6183 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.4781, allocations: 75.03 kB / 0.6184 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.4797, allocations: 1.557 MB / 0.6199 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007525/0.4873, allocations: 4.13 MB / 0.624 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.519, allocations: 20.31 MB / 0.6438 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.5206, allocations: 337.9 kB / 0.6441 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.5207, allocations: 60.11 kB / 0.6442 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005893/0.5266, allocations: 3.278 MB / 0.6474 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.5267, allocations: 109.8 kB / 0.6475 GB, free: 1.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.5267, allocations: 0 / 0.6475 GB, free: 1.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001288/0.528, allocations: 0.884 MB / 0.6484 GB, free: 392 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.528, allocations: 126.7 kB / 0.6485 GB, free: 252 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01935/0.5474, allocations: 10.55 MB / 0.6588 GB, free: 5.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5474, allocations: 25.7 kB / 0.6588 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006773/0.5542, allocations: 5.96 MB / 0.6646 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5543, allocations: 91.91 kB / 0.6647 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.5555, allocations: 0.8261 MB / 0.6655 GB, free: 14.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5556, allocations: 302.3 kB / 0.6658 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.5568, allocations: 0.7616 MB / 0.6666 GB, free: 13.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.5609, allocations: 3.996 MB / 0.6705 GB, free: 8.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/0.5668, allocations: 5.207 MB / 0.6755 GB, free: 1.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-05/0.5668, allocations: 36 kB / 0.6756 GB, free: 1.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01025/0.5771, allocations: 4.966 MB / 0.6804 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.5772, allocations: 57.97 kB / 0.6805 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/0.5774, allocations: 116 kB / 0.6806 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.5775, allocations: 152.7 kB / 0.6807 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.5802, allocations: 0.9786 MB / 0.6817 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.5803, allocations: 235.1 kB / 0.6819 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/0.5848, allocations: 0.6116 MB / 0.6825 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/0.5853, allocations: 288 kB / 0.6828 GB, free: 10.8 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.006052/0.5914, allocations: 3.414 MB / 0.6861 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/0.5933, allocations: 0.956 MB / 0.6871 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.5957, allocations: 1.027 MB / 0.6881 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-05/0.5958, allocations: 176.3 kB / 0.6882 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.441e-05/0.5959, allocations: 176.3 kB / 0.6884 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.277e-05/0.596, allocations: 184.2 kB / 0.6886 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.6072, allocations: 5.135 MB / 0.6936 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-05/0.6073, allocations: 110.4 kB / 0.6937 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.6073, allocations: 101 kB / 0.6938 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-05/0.6074, allocations: 180.3 kB / 0.694 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.6075, allocations: 188.2 kB / 0.6941 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.95e-05/0.6076, allocations: 180.3 kB / 0.6943 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.09e-05/0.6077, allocations: 184.2 kB / 0.6945 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.6098, allocations: 1.195 MB / 0.6957 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/0.6121, allocations: 0.9514 MB / 0.6966 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/0.6134, allocations: 188.2 kB / 0.6968 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.6149, allocations: 104.9 kB / 0.6969 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.615, allocations: 180.3 kB / 0.697 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.615, allocations: 107.2 kB / 0.6971 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01535/0.6304, allocations: 7.142 MB / 0.7041 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6304, allocations: 0 / 0.7041 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005454/0.6358, allocations: 1.133 MB / 0.7052 GB, free: 3.633 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.0001827/0.636, allocations: 174.5 kB / 0.7054 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.6392, allocations: 1.804 MB / 0.7071 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6392, allocations: 4.25 kB / 0.7071 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.6392, allocations: 1.531 kB / 0.7071 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/0.6544, allocations: 3.447 MB / 0.7105 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/0.6893, allocations: 16.69 MB / 0.7268 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/0.6994, allocations: 5.281 MB / 0.732 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.7005, allocations: 431.4 kB / 0.7324 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/0.7005, allocations: 0 / 0.7324 GB, free: 7.762 MB / 0.545 GB Notification: Performance of Templates: time 0.5349/1.235, allocations: 127.7 MB / 0.8571 GB, free: 175.3 MB / 0.6387 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_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: 25.115623789140955]