Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001557/0.001557, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.001743/0.001743, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.17 MB / 351.8 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 76.31 kB / 490.8 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 62.46 MB / 0.5403 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01171/0.1457, allocations: 10.36 MB / 0.5505 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.1526, allocations: 3.067 MB / 0.5535 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.1545, allocations: 63.81 kB / 0.5535 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005096/0.1597, allocations: 2.687 MB / 0.5561 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.1627, allocations: 1.023 MB / 0.5571 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.1634, allocations: 263.5 kB / 0.5574 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.1656, allocations: 1.525 MB / 0.5589 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.1684, allocations: 2.449 MB / 0.5613 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.1699, allocations: 0.9343 MB / 0.5622 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.1742, allocations: 3.312 MB / 0.5654 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.1747, allocations: 188 kB / 0.5656 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.1755, allocations: 271.8 kB / 0.5659 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.1778, allocations: 2.923 MB / 0.5687 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.1811, allocations: 3.329 MB / 0.572 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.192, allocations: 9.809 MB / 0.5815 GB, free: 9.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.192, allocations: 3.938 kB / 0.5815 GB, free: 9.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.192, allocations: 7.938 kB / 0.5816 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003198/0.1924, allocations: 0 / 0.5816 GB, free: 9.793 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.01479/0.2072, allocations: 9.113 MB / 0.5905 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2072, allocations: 8.031 kB / 0.5905 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.2087, allocations: 1.028 MB / 0.5915 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/0.2147, allocations: 3.823 MB / 0.5952 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2149, allocations: 127.4 kB / 0.5953 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.2151, allocations: 167.7 kB / 0.5955 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008984/0.2241, allocations: 6.604 MB / 0.6019 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.2241, allocations: 7.938 kB / 0.6019 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.2243, allocations: 83.94 kB / 0.602 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.226, allocations: 1.557 MB / 0.6035 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5621/0.7881, allocations: 4.133 MB / 0.6076 GB, free: 51.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.8205, allocations: 20.31 MB / 0.6274 GB, free: 42.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.8221, allocations: 338.6 kB / 0.6277 GB, free: 41.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.8222, allocations: 58.11 kB / 0.6278 GB, free: 41.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005179/0.8274, allocations: 3.269 MB / 0.631 GB, free: 39.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.8274, allocations: 121.4 kB / 0.6311 GB, free: 38.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.8275, allocations: 1.406 kB / 0.6311 GB, free: 38.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001038/0.8285, allocations: 0.8833 MB / 0.632 GB, free: 38.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.8285, allocations: 131.8 kB / 0.6321 GB, free: 38.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01841/0.847, allocations: 10.55 MB / 0.6424 GB, free: 33.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.847, allocations: 25.7 kB / 0.6424 GB, free: 33.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004338/0.8514, allocations: 5.957 MB / 0.6482 GB, free: 28.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.8516, allocations: 94.2 kB / 0.6483 GB, free: 28.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/0.8523, allocations: 0.829 MB / 0.6491 GB, free: 28.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.8524, allocations: 301.1 kB / 0.6494 GB, free: 27.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/0.8532, allocations: 0.7616 MB / 0.6502 GB, free: 26.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8549, allocations: 3.994 MB / 0.6541 GB, free: 21.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.8582, allocations: 5.201 MB / 0.6591 GB, free: 14.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.8582, allocations: 32 kB / 0.6592 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006919/0.8651, allocations: 4.976 MB / 0.664 GB, free: 9.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.8652, allocations: 52 kB / 0.6641 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/0.8653, allocations: 123.9 kB / 0.6642 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.8654, allocations: 152 kB / 0.6643 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.8674, allocations: 0.9863 MB / 0.6653 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.8675, allocations: 223.1 kB / 0.6655 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/0.8714, allocations: 0.6223 MB / 0.6661 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.8717, allocations: 284 kB / 0.6664 GB, free: 7.129 MB / 462.1 MB 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.004473/0.8762, allocations: 3.394 MB / 0.6697 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/0.8776, allocations: 0.9676 MB / 0.6707 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.8793, allocations: 1.019 MB / 0.6716 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.8793, allocations: 184.2 kB / 0.6718 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/0.8793, allocations: 184.3 kB / 0.672 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.8794, allocations: 176.3 kB / 0.6722 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.8903, allocations: 5.135 MB / 0.6772 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.441e-05/0.8904, allocations: 105 kB / 0.6773 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.8905, allocations: 112.9 kB / 0.6774 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.8906, allocations: 180.1 kB / 0.6776 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.8907, allocations: 180.3 kB / 0.6777 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.697e-05/0.8907, allocations: 180.2 kB / 0.6779 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.429e-05/0.8908, allocations: 188.2 kB / 0.6781 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.8925, allocations: 1.191 MB / 0.6792 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.8941, allocations: 0.9568 MB / 0.6802 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/0.8947, allocations: 180.3 kB / 0.6804 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.8954, allocations: 101.7 kB / 0.6805 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.8955, allocations: 188.2 kB / 0.6806 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.8956, allocations: 105 kB / 0.6807 GB, free: 8.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01348/0.9091, allocations: 7.142 MB / 0.6877 GB, free: 1.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.9091, allocations: 0 / 0.6877 GB, free: 1.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005004/0.9141, allocations: 1.136 MB / 0.6888 GB, free: 156 kB / 478.1 MB 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.0002427/0.9144, allocations: 170.5 kB / 0.689 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.9175, allocations: 1.871 MB / 0.6908 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9175, allocations: 0 / 0.6908 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.9175, allocations: 0 / 0.6908 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01365/0.9312, allocations: 3.456 MB / 0.6942 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/0.9613, allocations: 16.7 MB / 0.7105 GB, free: 9.941 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008456/0.9698, allocations: 5.274 MB / 0.7156 GB, free: 4.629 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.9709, allocations: 431.4 kB / 0.7161 GB, free: 4.207 MB / 0.4982 GB Notification: Performance of SimCode: time 1.062e-06/0.9709, allocations: 0 / 0.7161 GB, free: 4.207 MB / 0.4982 GB Notification: Performance of Templates: time 0.218/1.189, allocations: 127.6 MB / 0.8407 GB, free: 4.625 MB / 0.6232 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 24.68696036597248]