Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001794/0.001794, allocations: 120 kB / 18.46 MB, free: 4.562 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.002066/0.002066, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+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.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 75.89 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 65.99 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01323/0.142, allocations: 10.4 MB / 0.5667 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.1499, allocations: 3.087 MB / 0.5697 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.1517, allocations: 79.62 kB / 0.5698 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005832/0.1575, allocations: 2.714 MB / 0.5724 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.1609, allocations: 1.058 MB / 0.5734 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.1618, allocations: 263.5 kB / 0.5737 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002743/0.1646, allocations: 1.521 MB / 0.5752 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.1677, allocations: 2.055 MB / 0.5772 GB, free: 40 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.1695, allocations: 0.9266 MB / 0.5781 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004977/0.1745, allocations: 3.394 MB / 0.5814 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007214/0.1752, allocations: 188 kB / 0.5816 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1763, allocations: 279.8 kB / 0.5819 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00303/0.1794, allocations: 3.008 MB / 0.5848 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003704/0.1831, allocations: 3.341 MB / 0.5881 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2765/0.4596, allocations: 9.863 MB / 0.5977 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4596, allocations: 2.453 kB / 0.5977 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4596, allocations: 0 / 0.5977 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004522/0.4601, allocations: 0 / 0.5977 GB, free: 14.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.01869/0.4787, allocations: 9.111 MB / 0.6066 GB, free: 9.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4788, allocations: 10.31 kB / 0.6066 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.481, allocations: 1.024 MB / 0.6076 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.4882, allocations: 3.834 MB / 0.6113 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.4884, allocations: 125.6 kB / 0.6115 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/0.489, allocations: 171 kB / 0.6116 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.5001, allocations: 6.599 MB / 0.6181 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.5002, allocations: 10.62 kB / 0.6181 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.5003, allocations: 79.33 kB / 0.6182 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.502, allocations: 1.561 MB / 0.6197 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007431/0.5094, allocations: 4.126 MB / 0.6237 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03197/0.5414, allocations: 20.31 MB / 0.6435 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.543, allocations: 337.2 kB / 0.6439 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.5432, allocations: 60.11 kB / 0.6439 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006654/0.5498, allocations: 3.277 MB / 0.6471 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/0.5499, allocations: 116.4 kB / 0.6472 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.5499, allocations: 0 / 0.6472 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001603/0.5515, allocations: 0.8781 MB / 0.6481 GB, free: 100 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5516, allocations: 126.7 kB / 0.6482 GB, free: 15.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02071/0.5723, allocations: 10.55 MB / 0.6585 GB, free: 5.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5723, allocations: 29.7 kB / 0.6585 GB, free: 5.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006994/0.5793, allocations: 5.956 MB / 0.6644 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5795, allocations: 91.91 kB / 0.6645 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.5806, allocations: 0.8261 MB / 0.6653 GB, free: 14.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5807, allocations: 305.1 kB / 0.6655 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.5819, allocations: 0.7577 MB / 0.6663 GB, free: 13.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003944/0.5858, allocations: 4.004 MB / 0.6702 GB, free: 7.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/0.5919, allocations: 5.203 MB / 0.6753 GB, free: 1.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6e-05/0.592, allocations: 32 kB / 0.6753 GB, free: 1.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009612/0.6016, allocations: 4.968 MB / 0.6802 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.6017, allocations: 60.25 kB / 0.6802 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/0.6019, allocations: 117.3 kB / 0.6803 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.602, allocations: 152 kB / 0.6805 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.6046, allocations: 0.9794 MB / 0.6814 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000218/0.6048, allocations: 231.1 kB / 0.6817 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.6094, allocations: 0.6191 MB / 0.6823 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/0.6098, allocations: 284 kB / 0.6825 GB, free: 10.52 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.006392/0.6162, allocations: 3.409 MB / 0.6859 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/0.6185, allocations: 0.9521 MB / 0.6868 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.6212, allocations: 1.027 MB / 0.6878 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.918e-05/0.6213, allocations: 181.2 kB / 0.688 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.965e-05/0.6214, allocations: 182.5 kB / 0.6881 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.753e-05/0.6215, allocations: 181.4 kB / 0.6883 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.6369, allocations: 5.131 MB / 0.6933 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-05/0.6369, allocations: 108.9 kB / 0.6934 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.637, allocations: 105 kB / 0.6935 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.43e-05/0.6371, allocations: 184.2 kB / 0.6937 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.423e-05/0.6372, allocations: 187.9 kB / 0.6939 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.919e-05/0.6373, allocations: 176.3 kB / 0.694 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.176e-05/0.6374, allocations: 181.8 kB / 0.6942 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.6397, allocations: 1.205 MB / 0.6954 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/0.6426, allocations: 0.9453 MB / 0.6963 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/0.6447, allocations: 180.8 kB / 0.6965 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/0.647, allocations: 110.7 kB / 0.6966 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.6471, allocations: 180.3 kB / 0.6968 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.6472, allocations: 108.9 kB / 0.6969 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01829/0.6655, allocations: 7.138 MB / 0.7038 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4e-07/0.6655, allocations: 0.7656 kB / 0.7038 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006678/0.6721, allocations: 1.138 MB / 0.705 GB, free: 3.352 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.0002526/0.6724, allocations: 166.5 kB / 0.7051 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003897/0.6763, allocations: 1.807 MB / 0.7069 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6763, allocations: 0 / 0.7069 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-06/0.6763, allocations: 0 / 0.7069 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01871/0.695, allocations: 3.462 MB / 0.7103 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/0.7365, allocations: 16.69 MB / 0.7266 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/0.7487, allocations: 5.283 MB / 0.7317 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.75, allocations: 431.4 kB / 0.7321 GB, free: 7.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.324e-06/0.75, allocations: 0 / 0.7321 GB, free: 7.473 MB / 0.545 GB Notification: Performance of Templates: time 0.5351/1.285, allocations: 127.7 MB / 0.8568 GB, free: 176.5 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.62402600000496]