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.001716/0.001716, allocations: 121.5 kB / 18.46 MB, free: 4.566 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.002012/0.002012, allocations: 205.8 kB / 21.41 MB, free: 1.621 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.511/1.511, allocations: 227.4 MB / 251.6 MB, free: 276 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.2351/0.2351, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.002351/0.002351, allocations: 76.7 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1493, allocations: 62.45 MB / 0.5397 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01285/0.1622, allocations: 10.37 MB / 0.5498 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.1703, allocations: 3.067 MB / 0.5528 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.1722, allocations: 67.81 kB / 0.5528 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005507/0.1777, allocations: 2.683 MB / 0.5555 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.1814, allocations: 1.023 MB / 0.5565 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.1822, allocations: 267.5 kB / 0.5567 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.1846, allocations: 1.528 MB / 0.5582 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.1877, allocations: 2.449 MB / 0.5606 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1893, allocations: 0.9382 MB / 0.5615 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.194, allocations: 3.312 MB / 0.5648 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005286/0.1945, allocations: 184 kB / 0.5649 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.1953, allocations: 271.8 kB / 0.5652 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002605/0.198, allocations: 2.927 MB / 0.568 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.2015, allocations: 3.333 MB / 0.5713 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.2123, allocations: 9.812 MB / 0.5809 GB, free: 9.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.2124, allocations: 3.984 kB / 0.5809 GB, free: 9.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2124, allocations: 0 / 0.5809 GB, free: 9.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.2127, allocations: 0 / 0.5809 GB, free: 9.852 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.01457/0.2272, allocations: 9.11 MB / 0.5898 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2273, allocations: 12.03 kB / 0.5898 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.2288, allocations: 1.024 MB / 0.5908 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006595/0.2354, allocations: 3.815 MB / 0.5945 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.2356, allocations: 131.3 kB / 0.5947 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.2359, allocations: 171.7 kB / 0.5948 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.2472, allocations: 6.601 MB / 0.6013 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/0.2473, allocations: 15.88 kB / 0.6013 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.2478, allocations: 83.92 kB / 0.6014 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/0.2498, allocations: 1.557 MB / 0.6029 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5476/0.7974, allocations: 4.13 MB / 0.6069 GB, free: 51.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03516/0.8326, allocations: 20.31 MB / 0.6267 GB, free: 42.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.8343, allocations: 338.3 kB / 0.6271 GB, free: 42.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.8345, allocations: 60.78 kB / 0.6271 GB, free: 42.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006173/0.8406, allocations: 3.272 MB / 0.6303 GB, free: 39.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.8407, allocations: 117.4 kB / 0.6304 GB, free: 39.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.935e-06/0.8407, allocations: 1.562 kB / 0.6304 GB, free: 39.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001307/0.8421, allocations: 0.8819 MB / 0.6313 GB, free: 38.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.8421, allocations: 127.8 kB / 0.6314 GB, free: 38.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01491/0.857, allocations: 10.56 MB / 0.6417 GB, free: 33.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.8571, allocations: 25.7 kB / 0.6417 GB, free: 33.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003382/0.8605, allocations: 5.956 MB / 0.6476 GB, free: 28.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.8606, allocations: 97.33 kB / 0.6477 GB, free: 28.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/0.8614, allocations: 0.821 MB / 0.6485 GB, free: 28.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.8614, allocations: 305.1 kB / 0.6487 GB, free: 27.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.8622, allocations: 0.7616 MB / 0.6495 GB, free: 27.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.8639, allocations: 4 MB / 0.6534 GB, free: 21.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.867, allocations: 5.201 MB / 0.6585 GB, free: 14.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/0.867, allocations: 33.88 kB / 0.6585 GB, free: 14.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006367/0.8734, allocations: 4.968 MB / 0.6634 GB, free: 9.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.8735, allocations: 59.98 kB / 0.6634 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.919e-05/0.8735, allocations: 116 kB / 0.6635 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.794e-05/0.8736, allocations: 152 kB / 0.6637 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.8755, allocations: 0.9824 MB / 0.6646 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.8756, allocations: 227.1 kB / 0.6648 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/0.8792, allocations: 0.6206 MB / 0.6655 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.8795, allocations: 284 kB / 0.6657 GB, free: 7.285 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.004203/0.8837, allocations: 3.401 MB / 0.669 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/0.885, allocations: 0.9676 MB / 0.67 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.8865, allocations: 1.019 MB / 0.671 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.8865, allocations: 176.3 kB / 0.6712 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/0.8865, allocations: 184.2 kB / 0.6713 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.8866, allocations: 180.3 kB / 0.6715 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009364/0.8959, allocations: 5.131 MB / 0.6765 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.695e-05/0.896, allocations: 109 kB / 0.6766 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.8962, allocations: 108.9 kB / 0.6767 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.8963, allocations: 181.1 kB / 0.6769 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.8964, allocations: 180.3 kB / 0.6771 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.33e-05/0.8965, allocations: 182.5 kB / 0.6772 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.862e-05/0.8966, allocations: 180.3 kB / 0.6774 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.8984, allocations: 1.199 MB / 0.6786 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.9001, allocations: 0.953 MB / 0.6795 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/0.9005, allocations: 180.2 kB / 0.6797 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.9013, allocations: 111.7 kB / 0.6798 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.9014, allocations: 184.2 kB / 0.68 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.9015, allocations: 108.9 kB / 0.6801 GB, free: 8.414 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01479/0.9163, allocations: 7.138 MB / 0.687 GB, free: 1.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.9163, allocations: 0 / 0.687 GB, free: 1.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004751/0.9211, allocations: 1.141 MB / 0.6882 GB, free: 312 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.0002054/0.9213, allocations: 170.5 kB / 0.6883 GB, free: 128 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.9247, allocations: 1.866 MB / 0.6901 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9248, allocations: 4 kB / 0.6901 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.9248, allocations: 0.8125 kB / 0.6901 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/0.9386, allocations: 3.444 MB / 0.6935 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.9662, allocations: 15.95 MB / 0.7091 GB, free: 10.85 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/0.978, allocations: 5.273 MB / 0.7142 GB, free: 5.535 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008298/0.9864, allocations: 2.098 MB / 0.7163 GB, free: 3.43 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.9876, allocations: 403.4 kB / 0.7167 GB, free: 3.035 MB / 0.4982 GB Notification: Performance of SimCode: time 1.303e-06/0.9877, allocations: 0 / 0.7167 GB, free: 3.035 MB / 0.4982 GB Notification: Performance of Templates: time 0.1966/1.184, allocations: 83.18 MB / 0.7979 GB, free: 356 kB / 0.5763 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.292435877025127]