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.001484/0.001484, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001701/0.001701, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.333/1.333, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.2078/0.2078, allocations: 46.92 MB / 361.5 MB, free: 4.176 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.002167/0.002167, allocations: 75.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2818, allocations: 66.08 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01162/0.2935, allocations: 10.43 MB / 0.5721 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.2997, allocations: 3.102 MB / 0.5752 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.3009, allocations: 79.69 kB / 0.5752 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004789/0.3057, allocations: 2.722 MB / 0.5779 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.3083, allocations: 1.128 MB / 0.579 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.3089, allocations: 275.5 kB / 0.5793 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.3108, allocations: 1.506 MB / 0.5807 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.3128, allocations: 1.916 MB / 0.5826 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.3138, allocations: 0.9342 MB / 0.5835 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.3182, allocations: 3.439 MB / 0.5869 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.3186, allocations: 188 kB / 0.5871 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005638/0.3192, allocations: 271.8 kB / 0.5873 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.3214, allocations: 3.013 MB / 0.5903 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.3241, allocations: 3.337 MB / 0.5935 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.3331, allocations: 9.866 MB / 0.6032 GB, free: 9.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3331, allocations: 4 kB / 0.6032 GB, free: 9.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3331, allocations: 0 / 0.6032 GB, free: 9.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.3333, allocations: 0 / 0.6032 GB, free: 9.82 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.01209/0.3454, allocations: 9.046 MB / 0.612 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3454, allocations: 8.031 kB / 0.612 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.3467, allocations: 1.028 MB / 0.613 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/0.3524, allocations: 3.735 MB / 0.6167 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.3525, allocations: 135.3 kB / 0.6168 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.3527, allocations: 167.9 kB / 0.6169 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008652/0.3614, allocations: 6.612 MB / 0.6234 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.3614, allocations: 11.88 kB / 0.6234 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.3616, allocations: 75.94 kB / 0.6235 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/0.3633, allocations: 1.561 MB / 0.625 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007312/0.3706, allocations: 4.133 MB / 0.629 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.3994, allocations: 20.24 MB / 0.6488 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.4008, allocations: 346 kB / 0.6491 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4009, allocations: 56.83 kB / 0.6492 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004212/0.4051, allocations: 1.928 MB / 0.6511 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.4052, allocations: 109.8 kB / 0.6512 GB, free: 7.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.4052, allocations: 0 / 0.6512 GB, free: 7.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000981/0.4062, allocations: 0.8825 MB / 0.652 GB, free: 7.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.4062, allocations: 126.7 kB / 0.6522 GB, free: 6.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/0.4204, allocations: 10.55 MB / 0.6625 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.4204, allocations: 29.7 kB / 0.6625 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005362/0.4257, allocations: 5.958 MB / 0.6683 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4259, allocations: 95.89 kB / 0.6684 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008437/0.4267, allocations: 0.8222 MB / 0.6692 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4268, allocations: 309 kB / 0.6695 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4279, allocations: 0.7577 MB / 0.6702 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.4315, allocations: 3.999 MB / 0.6742 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/0.4372, allocations: 5.201 MB / 0.6792 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-05/0.4372, allocations: 39.94 kB / 0.6793 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007884/0.4451, allocations: 4.964 MB / 0.6841 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.4452, allocations: 55.98 kB / 0.6842 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.4453, allocations: 120 kB / 0.6843 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.4455, allocations: 152 kB / 0.6844 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.4477, allocations: 0.9824 MB / 0.6854 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001748/0.4479, allocations: 223.2 kB / 0.6856 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.4511, allocations: 0.617 MB / 0.6862 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.4514, allocations: 284 kB / 0.6865 GB, free: 448 kB / 0.5137 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.00464/0.456, allocations: 3.41 MB / 0.6898 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.4572, allocations: 0.96 MB / 0.6907 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4586, allocations: 1.023 MB / 0.6917 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.183e-05/0.4587, allocations: 184.3 kB / 0.6919 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.573e-05/0.4588, allocations: 188.2 kB / 0.6921 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.55e-05/0.4589, allocations: 176.3 kB / 0.6923 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/0.4654, allocations: 5.102 MB / 0.6972 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.4655, allocations: 108.9 kB / 0.6973 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.4655, allocations: 109 kB / 0.6975 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.121e-05/0.4656, allocations: 180.2 kB / 0.6976 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.4657, allocations: 176.3 kB / 0.6978 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.295e-05/0.4658, allocations: 176.3 kB / 0.698 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-05/0.4658, allocations: 188.2 kB / 0.6981 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.467, allocations: 1.199 MB / 0.6993 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.4686, allocations: 0.8739 MB / 0.7002 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/0.4692, allocations: 184.2 kB / 0.7003 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.4699, allocations: 105 kB / 0.7004 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.47, allocations: 184.3 kB / 0.7006 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.47, allocations: 108.9 kB / 0.7007 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01058/0.4806, allocations: 7.138 MB / 0.7077 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4806, allocations: 0 / 0.7077 GB, free: 10.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003887/0.4845, allocations: 1.145 MB / 0.7088 GB, free: 9.379 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.0001642/0.4847, allocations: 174.5 kB / 0.709 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.4874, allocations: 1.808 MB / 0.7107 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4874, allocations: 0.875 kB / 0.7107 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4874, allocations: 0 / 0.7107 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/0.4982, allocations: 3.45 MB / 0.7141 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.5237, allocations: 16.69 MB / 0.7304 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4059/0.9297, allocations: 5.273 MB / 0.7356 GB, free: 145 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/0.9305, allocations: 435.5 kB / 0.736 GB, free: 145 MB / 0.5607 GB Notification: Performance of SimCode: time 8.12e-07/0.9305, allocations: 0.6562 kB / 0.736 GB, free: 145 MB / 0.5607 GB Notification: Performance of Templates: time 0.1431/1.074, allocations: 127.7 MB / 0.8607 GB, free: 29.07 MB / 0.5607 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/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: 19.92883128998801]